CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-rgb: initial import (verified compilation)
[attic/ports/xorg-cross.git] / xorg-rgb / Pkgfile
1 # Description: X Window System RGB database
2 # URL: http://xorg.freedesktop.org
3 # Maintainer: Tilman Sauerbeck tilman at crux dot nu
4 # Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
5 # Depends on: xorg-xproto
6
7 name=xorg-rgb
8 version=1.0.3
9 release=1
10 source=(http://xorg.freedesktop.org/releases/individual/app/rgb-$version.tar.bz2)
11
12 build() {
13 cd rgb-$version
14
15 sed 's| pkg_failed=yes| pkg_failed=no|' -i configure
16
17 export XORG_LIBS="-L$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules"
18 export XORG_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
19 export RGB_LIBS="$XORG_LIBS"
20 export RGB_CFLAGS="$XORG_CFLAGS"
21
22 ./configure --build=$CHOST \
23 --host=$CTARGET \
24 --prefix=/usr \
25 --mandir=/usr/man
26
27 make
28 make DESTDIR=$PKG install
29 }