CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-libxi: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Thu, 17 Dec 2009 11:44:50 +0000 (12:44 +0100)
committerJose V Beneyto <sepen@crux.nu>
Thu, 17 Dec 2009 11:44:50 +0000 (12:44 +0100)
xorg-libxi/.footprint [new file with mode: 0644]
xorg-libxi/.md5sum [new file with mode: 0644]
xorg-libxi/Pkgfile [new file with mode: 0644]

diff --git a/xorg-libxi/.footprint b/xorg-libxi/.footprint
new file mode 100644 (file)
index 0000000..94f96b9
--- /dev/null
@@ -0,0 +1,16 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/include/
+drwxr-xr-x     root/root       usr/include/X11/
+drwxr-xr-x     root/root       usr/include/X11/extensions/
+-rw-r--r--     root/root       usr/include/X11/extensions/XInput.h
+-rw-r--r--     root/root       usr/include/X11/extensions/XInput2.h
+drwxr-xr-x     root/root       usr/lib/
+-rw-r--r--     root/root       usr/lib/libXi.a
+-rwxr-xr-x     root/root       usr/lib/libXi.la
+lrwxrwxrwx     root/root       usr/lib/libXi.so -> libXi.so.6.1.0
+lrwxrwxrwx     root/root       usr/lib/libXi.so.6 -> libXi.so.6.1.0
+-rwxr-xr-x     root/root       usr/lib/libXi.so.6.1.0
+drwxr-xr-x     root/root       usr/lib/pkgconfig/
+-rw-r--r--     root/root       usr/lib/pkgconfig/xi.pc
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man3/
diff --git a/xorg-libxi/.md5sum b/xorg-libxi/.md5sum
new file mode 100644 (file)
index 0000000..ff5849f
--- /dev/null
@@ -0,0 +1 @@
+8df4ece9bd1efb02c28acb2b6f485e09  libXi-1.3.tar.bz2
diff --git a/xorg-libxi/Pkgfile b/xorg-libxi/Pkgfile
new file mode 100644 (file)
index 0000000..297a795
--- /dev/null
@@ -0,0 +1,29 @@
+# Depends on: xorg-xproto, xorg-libx11, xorg-xextproto, xorg-libxext, xorg-inputproto
+# Description: X Input client library
+# 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-libx11 xorg-libxext
+
+name=xorg-libxi
+version=1.3
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/lib/libXi-$version.tar.bz2)
+
+build() {
+  cd libXi-$version
+  
+  export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs"
+  export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+  export XI_LIBS="$X11_LIBS"
+  export XI_CFLAGS="$X11_CFLAGS" 
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --mandir=/usr/man \
+              --enable-malloc0returnsnull
+
+  make
+  make DESTDIR=$PKG install
+}