aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-i128/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-04 10:56:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-04 13:23:04 +0000
commit8d3e4978f411d125eda59125dab752a4d11aacdf (patch)
tree6846a59cee157d2ba945864d5409fcd283c331d7 /main/xf86-video-i128/APKBUILD
parenteb8ae12185621cca882818caca1b387616555666 (diff)
downloadaports-8d3e4978f411d125eda59125dab752a4d11aacdf.tar.bz2
aports-8d3e4978f411d125eda59125dab752a4d11aacdf.tar.xz
main/xf86-video-i128: rebuild against xorg-server-1.19
Diffstat (limited to 'main/xf86-video-i128/APKBUILD')
-rw-r--r--main/xf86-video-i128/APKBUILD17
1 files changed, 6 insertions, 11 deletions
diff --git a/main/xf86-video-i128/APKBUILD b/main/xf86-video-i128/APKBUILD
index d3a2bb7044..9dc1d0266b 100644
--- a/main/xf86-video-i128/APKBUILD
+++ b/main/xf86-video-i128/APKBUILD
@@ -5,7 +5,7 @@ pkgrel=7
pkgdesc="Number 9 I128 video driver"
url="http://xorg.freedesktop.org/"
arch="all"
-license="custom"
+license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="xorg-server-dev libxi-dev fontsproto randrproto
@@ -14,19 +14,14 @@ makedepends="xorg-server-dev libxi-dev fontsproto randrproto
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
mibstore.patch"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$_builddir"
- update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare
+ update_config_sub
}
build() {
- cd "$_builddir"
+ cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -37,7 +32,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}