aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-sunleo/APKBUILD
blob: 58d1cef829a8c6513eb5ec9abc08154a40481c24 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-sunleo
pkgver=1.2.2
pkgrel=0
pkgdesc="Leo 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="467559e608b59dcf2a50cbaddc218ad0778e88515906fed9d6346db09187f3f7645482113882bcf81428d4af3d3f2cccec7f24663c12c23a411f8a87551ef23f  xf86-video-sunleo-1.2.2.tar.bz2"