aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-i740/APKBUILD
blob: 9c0d5ea7ac21705aa51312d919b8ae97f8b784a0 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-i740
pkgver=1.3.6
pkgrel=0
pkgdesc="Intel i740 video driver"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="xorg-server-dev libxi-dev fontsproto randrproto
	videoproto renderproto"

source="http://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 \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="82a3932e8c7f89550afdf69adadba4cc7a1b28f7a15ab018bff948d99767c57b61510967be7997131e2e1e87acf7b0ea28018deb1c907c284e68fc866d2b4139  xf86-video-i740-1.3.6.tar.bz2"