blob: 63662e8bbed97c62bf1a14284edc52cd85196624 (
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
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-vesa
pkgver=2.3.2
pkgrel=3
pkgdesc="X.org vesa video driver"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
depends=
makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto
videoproto renderproto"
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
0002-Remove-mibstore.h.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
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
rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="3eddd393fba79550e012d717499d58ad xf86-video-vesa-2.3.2.tar.bz2
f0641dbc1afa0ac59c8665ccdffb21f6 0002-Remove-mibstore.h.patch"
sha256sums="144a17ffae3c86603ddc4ae33521a52813498ee1f8213faa662dc4a8d6490ee3 xf86-video-vesa-2.3.2.tar.bz2
b74675347d2b96962776fb3a62e20408cb9c2373be910c250d1a5e66d469360c 0002-Remove-mibstore.h.patch"
sha512sums="5da0da391fe5d3a5a88e36dcf0b75435b6c1b7389425da253633a293f3eeb0dc91760d0e66b3e98e227dabfa888dbf085fcc5fd973381da4df01ed81c8db288e xf86-video-vesa-2.3.2.tar.bz2
bf163ce3ce5ff1d979221587d09a7affd3131ce3f9dd1b8d814e4572cb2e6fe8a010d88f3b28f7fcf60ed2cf6adfeb3edd3406197f70f956f8d2fa1e07956dca 0002-Remove-mibstore.h.patch"
|