aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-nouveau/APKBUILD
blob: d295088a8815a905166f89f6249d2dbc1a962dde (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-nouveau
pkgver=1.0.14
pkgrel=0
pkgdesc="Open-source X.org drivers for nVidia video cards"
url="http://nouveau.freedesktop.org/"
arch="all"
license="MIT"
depends="mesa-dri-nouveau"
depends_dev=
makedepends="randrproto renderproto videoproto xextproto libdrm-dev
	xorg-server-dev util-macros xf86driproto eudev-dev"
install=""
subpackages="$pkgname-doc"
source="http://xorg.freedesktop.org/archive/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 \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="f07d49d736f87d4f42781c3cf3b5d07e7c57ca864973a917f6a7933082be1663214e9174f1434ddded094fac74f2087c63bb5ae528e21baf99dcd3385b219e66  xf86-video-nouveau-1.0.14.tar.bz2"