CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-rgb: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Sat, 19 Dec 2009 09:53:09 +0000 (10:53 +0100)
committerJose V Beneyto <sepen@crux.nu>
Sat, 19 Dec 2009 09:53:09 +0000 (10:53 +0100)
xorg-rgb/.footprint [new file with mode: 0644]
xorg-rgb/.md5sum [new file with mode: 0644]
xorg-rgb/Pkgfile [new file with mode: 0644]

diff --git a/xorg-rgb/.footprint b/xorg-rgb/.footprint
new file mode 100644 (file)
index 0000000..e8702ca
--- /dev/null
@@ -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 (file)
index 0000000..f1009d3
--- /dev/null
@@ -0,0 +1 @@
+44ea16cc3104de6401bc74035f642357  rgb-1.0.3.tar.bz2
diff --git a/xorg-rgb/Pkgfile b/xorg-rgb/Pkgfile
new file mode 100644 (file)
index 0000000..0fc3b40
--- /dev/null
@@ -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
+}