summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/libpciaccess/APKBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/libpciaccess/APKBUILD b/x11/libpciaccess/APKBUILD
new file mode 100644
index 00000000..df46a775
--- /dev/null
+++ b/x11/libpciaccess/APKBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libpciaccess
+pkgver=0.10.5
+pkgrel=0
+pkgdesc="X11 PCI access library"
+url="http://xorg.freedesktop.org/"
+license="custom"
+subpackages="$pkgname-dev $pkgname-doc"
+depends="uclibc"
+makedepends="pkgconfig"
+source="http://xorg.freedesktop.org//releases/individual/lib/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+md5sums="617bebf31e5685c83f935009aeae5f38 libpciaccess-0.10.5.tar.bz2"