aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-r128/APKBUILD
blob: 96fac317f39aecdb4ea7d934103592afa90e66af (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-r128
pkgver=6.11.0
pkgrel=0
pkgdesc="ATI Rage128 video driver"
url="https://xorg.freedesktop.org"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="xorg-server-dev libxi-dev libdrm-dev mesa-dev expat-dev util-macros
	autoconf automake libtool xorgproto"
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"

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

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="1211cac52f65010aa4e168a173660186ad2b8595688a910ac545b0321d0d6879e02284b3bb26779faf3cf5b3b3031f33adb63ff596fb55a8f7a1f465ca0db1ba  xf86-video-r128-6.11.0.tar.bz2"