| 1 | # Description: X Window System initializer |
| 2 | # URL: http://xorg.freedesktop.org |
| 3 | # Maintainer: Tilman Sauerbeck tilman at crux dot nu |
| 4 | # Arch Maintainer: System Team devel at crux-arm dot nu |
| 5 | # Depends on: xorg-libx11 |
| 6 | |
| 7 | name=xorg-xinit |
| 8 | version=1.2.0 |
| 9 | release=2 |
| 10 | source=(http://xorg.freedesktop.org/releases/individual/app/xinit-$version.tar.bz2) |
| 11 | |
| 12 | build() { |
| 13 | cd xinit-$version |
| 14 | |
| 15 | export XINIT_LIBS="-L$CLFS/usr/lib -lX11" |
| 16 | export XINIT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" |
| 17 | |
| 18 | ./configure --build=$CHOST \ |
| 19 | --host=$CTARGET \ |
| 20 | --prefix=/usr \ |
| 21 | --mandir=/usr/man |
| 22 | |
| 23 | make |
| 24 | make DESTDIR=$PKG install |
| 25 | } |