aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-openchrome/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-04 11:48:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-04 13:23:04 +0000
commitc52c675d857678cea5ddeea5facb59dde32b17eb (patch)
tree9a3ad7b731b0820ccb3208331e80f2cf833fce9f /main/xf86-video-openchrome/APKBUILD
parent301c970ef4e3c1c1371662a6bb39953c658d9cb1 (diff)
downloadaports-c52c675d857678cea5ddeea5facb59dde32b17eb.tar.bz2
aports-c52c675d857678cea5ddeea5facb59dde32b17eb.tar.xz
main/xf86-video-openchrome: rebuild against xorg-server-1.19
Diffstat (limited to 'main/xf86-video-openchrome/APKBUILD')
-rw-r--r--main/xf86-video-openchrome/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/main/xf86-video-openchrome/APKBUILD b/main/xf86-video-openchrome/APKBUILD
index a2f8c6b058..0ff2415f30 100644
--- a/main/xf86-video-openchrome/APKBUILD
+++ b/main/xf86-video-openchrome/APKBUILD
@@ -5,7 +5,7 @@ pkgrel=0
pkgdesc="X.Org driver for VIA/S3G cards"
url="http://xorg.freedesktop.org/"
arch="all"
-license="custom"
+license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="xorg-server-dev libxi-dev libxvmc-dev fontsproto glproto
@@ -16,19 +16,15 @@ source="http://xorg.freedesktop.org/releases/individual/driver/xf86-video-opench
openchrome.xinf
"
-_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 -p0 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
+ update_config_sub
+ default_prepare
}
build() {
- cd "$_builddir"
+ cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -39,7 +35,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
install -Dm644 "$srcdir"/openchrome.xinf \