APKBUILD 793 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-i740
3
pkgver=1.3.2
4
pkgrel=1
Natanael Copa's avatar
Natanael Copa committed
5 6 7 8
pkgdesc="Intel i740 video driver"
url="http://xorg.freedesktop.org/"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
9 10
depends=
makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto
Natanael Copa's avatar
Natanael Copa committed
11 12
	videoproto renderproto"

13
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
Natanael Copa's avatar
Natanael Copa committed
14

15
build() {
Natanael Copa's avatar
Natanael Copa committed
16
	cd "$srcdir"/$pkgname-$pkgver
17
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
Natanael Copa's avatar
Natanael Copa committed
18 19
	./configure --prefix=/usr || return 1
	make || return 1
20 21 22 23
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
24 25 26
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
27
md5sums="4ac1318788f62159965f15131c869e7a  xf86-video-i740-1.3.2.tar.bz2"