aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxxf86vm/APKBUILD
blob: e1fffccbdcbb8aece3bf998fbc80764026ba2943 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxxf86vm
pkgver=1.1.1
pkgrel=2
pkgdesc="X11 XFree86 video mode extension library"
url="http://xorg.freedesktop.org/"
arch="all"
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
	rm "$pkgdir"/usr/lib/*.la || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="34dc3df888c164378da89a7deeb245a0  libXxf86vm-1.1.1.tar.bz2"