diff options
Diffstat (limited to 'main/libxxf86vm')
-rw-r--r-- | main/libxxf86vm/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/main/libxxf86vm/APKBUILD b/main/libxxf86vm/APKBUILD new file mode 100644 index 0000000000..1a7ebc4fda --- /dev/null +++ b/main/libxxf86vm/APKBUILD @@ -0,0 +1,27 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxxf86vm +pkgver=1.1.0 +pkgrel=1 +pkgdesc="X11 XFree86 video mode extension library" +url="http://xorg.freedesktop.org/" +license="custom" +subpackages="$pkgname-dev $pkgname-doc" +depends= +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 +} + +package() { + cd "$srcdir"/libXxf86vm-$pkgver + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} +md5sums="b431ad7084e1055fef99a9115237edd8 libXxf86vm-1.1.0.tar.bz2" |