aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libxxf86vm/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libxxf86vm/APKBUILD')
-rw-r--r--x11/libxxf86vm/APKBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/libxxf86vm/APKBUILD b/x11/libxxf86vm/APKBUILD
new file mode 100644
index 0000000000..561431772c
--- /dev/null
+++ b/x11/libxxf86vm/APKBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libxxf86vm
+pkgver=1.0.2
+pkgrel=0
+pkgdesc="X11 XFree86 video mode extension library"
+url="http://xorg.freedesktop.org/"
+license="custom"
+subpackages="$pkgname-dev $pkgname-doc"
+depends="uclibc libx11 libxext"
+makedepends="pkgconfig xproto libx11-dev xf86vidmodeproto xextproto libxext-dev"
+source="http://xorg.freedesktop.org/releases/individual/lib/libXxf86vm-$pkgver.tar.bz2"
+
+depends_dev="xf86vidmodeproto libx11-dev libxext-dev"
+
+build() {
+ cd "$srcdir"/libXxf86vm-$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="304d37bd0a10d9b58aa9b64469ad73e5 libXxf86vm-1.0.2.tar.bz2"