From: Jose V Beneyto Date: Sat, 19 Dec 2009 09:53:09 +0000 (+0100) Subject: xorg-rgb: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=6e403341715c0fddc7b58c559d0bc9b86baebaac;p=attic%2Fports%2Fxorg-cross.git xorg-rgb: initial import (verified compilation) --- diff --git a/xorg-rgb/.footprint b/xorg-rgb/.footprint new file mode 100644 index 0000000..e8702ca --- /dev/null +++ b/xorg-rgb/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/showrgb +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/showrgb.1.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/X11/ +-rw-r--r-- root/root usr/share/X11/rgb.txt diff --git a/xorg-rgb/.md5sum b/xorg-rgb/.md5sum new file mode 100644 index 0000000..f1009d3 --- /dev/null +++ b/xorg-rgb/.md5sum @@ -0,0 +1 @@ +44ea16cc3104de6401bc74035f642357 rgb-1.0.3.tar.bz2 diff --git a/xorg-rgb/Pkgfile b/xorg-rgb/Pkgfile new file mode 100644 index 0000000..0fc3b40 --- /dev/null +++ b/xorg-rgb/Pkgfile @@ -0,0 +1,29 @@ +# Description: X Window System RGB database +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck tilman at crux dot nu +# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org +# Depends on: xorg-xproto + +name=xorg-rgb +version=1.0.3 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/app/rgb-$version.tar.bz2) + +build() { + cd rgb-$version + + sed 's| pkg_failed=yes| pkg_failed=no|' -i configure + + export XORG_LIBS="-L$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules" + export XORG_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" + export RGB_LIBS="$XORG_LIBS" + export RGB_CFLAGS="$XORG_CFLAGS" + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --mandir=/usr/man + + make + make DESTDIR=$PKG install +}