aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-vmware/APKBUILD
blob: 0199bb49277c2e96efd4936702e83b2ba8a9b37f (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-vmware
pkgver=13.2.1
pkgrel=1
pkgdesc="X.org VMWare video driver"
url="http://xorg.freedesktop.org/"
arch="x86 x86_64"
license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="xorg-server-dev videoproto renderproto xproto libdrm-dev
	fontsproto xf86dgaproto xineramaproto randrproto xextproto libxi-dev
	eudev-dev util-macros"

source="http://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
	"

prepare() {
	cd "$builddir"
	chmod a+w config.sub
	update_config_sub
	default_prepare
}

build() {
	cd "$builddir"
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="9c48eaf5be6ece5685e07a53842083d091edba482ac0ea8318ac5b0adb9fc468f932685e4bdaf7e565f7a1cf723dcea2731616613798ebde2bbc18418a369a9d  xf86-video-vmware-13.2.1.tar.bz2"