diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-29 19:10:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-29 19:10:31 +0000 |
commit | 256fc12bdc5e3e015235bbd5e78fd60221905779 (patch) | |
tree | 5688ccd8fd6fffd3f49d819fb084eff3bb53cd12 /main/xf86-video-xgixp/APKBUILD | |
parent | c898883fe3ec841f99d685a4c88e45ec5c42b647 (diff) | |
download | aports-256fc12bdc5e3e015235bbd5e78fd60221905779.tar.bz2 aports-256fc12bdc5e3e015235bbd5e78fd60221905779.tar.xz |
main/xf86-video-xgixp: moved from testing
fixes #956
Diffstat (limited to 'main/xf86-video-xgixp/APKBUILD')
-rw-r--r-- | main/xf86-video-xgixp/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/xf86-video-xgixp/APKBUILD b/main/xf86-video-xgixp/APKBUILD new file mode 100644 index 000000000..3cc6584cd --- /dev/null +++ b/main/xf86-video-xgixp/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xf86-video-xgixp +pkgver=1.8.0 +pkgrel=0 +pkgdesc="X.org XGIXP video driver" +url="http://xorg.freedesktop.org/" +arch="all" +license="custom" +subpackages="$pkgname-doc" +depends= +makedepends="xorg-server-dev libdrm-dev xf86driproto glproto mesa-dev" +source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2 + api-compat-fix-for-DRAWABLE_BUFFER.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 --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/xorg/modules/drivers/*.la || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} +md5sums="0ebf98f1beaf911a242c79647cc08fbf xf86-video-xgixp-1.8.0.tar.bz2 +5930bf4ebbfb72f13a63e6b618f4eac7 api-compat-fix-for-DRAWABLE_BUFFER.patch" |