summaryrefslogtreecommitdiffstats
path: root/x11/libxi/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-27 22:06:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-27 22:06:59 +0000
commit62802188e8ef124631a7b67ccca4af7f5d466335 (patch)
tree603662aab27e72f211719ed4ecf69a7b684a8029 /x11/libxi/APKBUILD
parent79d39699930ed0a77b0e3807e6b5a8b21f7ca120 (diff)
downloadaports-62802188e8ef124631a7b67ccca4af7f5d466335.tar.bz2
aports-62802188e8ef124631a7b67ccca4af7f5d466335.tar.xz
x11/libxi: new aport
X11 Input extension library
Diffstat (limited to 'x11/libxi/APKBUILD')
-rw-r--r--x11/libxi/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/x11/libxi/APKBUILD b/x11/libxi/APKBUILD
new file mode 100644
index 000000000..36cb2b900
--- /dev/null
+++ b/x11/libxi/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libxi
+pkgver=1.2.1
+pkgrel=0
+pkgdesc="X11 Input extension library"
+url="http://xorg.freedesktop.org"
+license="custom"
+subpackages="$pkgname-dev $pkgname-doc"
+depends="libxext libx11 uclibc"
+makedepends="
+ inputproto
+ libx11-dev
+ libxext-dev
+ pkgconfig
+ xextproto
+ xproto
+ "
+source="http://xorg.freedesktop.org/releases/individual/lib/libXi-$pkgver.tar.bz2"
+
+depends_dev="inputproto libx11-dev libxext-dev"
+
+build ()
+{
+ cd "$srcdir"/libXi-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+md5sums="cfb36307e8e7ffafe40848dba24e0b11 libXi-1.2.1.tar.bz2"