aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-s3virge
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-04 11:56:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-04 13:23:05 +0000
commit8b8db78874114b291db532e9ebd21a4910f8574b (patch)
treef62a5f4d79ed280cd86015225760b3cfcd7d2740 /main/xf86-video-s3virge
parent95a3e0e9735a1be81a1e4d2c2c86fc873366877a (diff)
downloadaports-8b8db78874114b291db532e9ebd21a4910f8574b.tar.bz2
aports-8b8db78874114b291db532e9ebd21a4910f8574b.tar.xz
main/xf86-video-s3virge: rebuild against xorg-server-1.19
Diffstat (limited to 'main/xf86-video-s3virge')
-rw-r--r--main/xf86-video-s3virge/APKBUILD17
1 files changed, 5 insertions, 12 deletions
diff --git a/main/xf86-video-s3virge/APKBUILD b/main/xf86-video-s3virge/APKBUILD
index 9451bf8fa2..45e8d60f59 100644
--- a/main/xf86-video-s3virge/APKBUILD
+++ b/main/xf86-video-s3virge/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-s3virge
pkgver=1.10.7
-pkgrel=0
+pkgrel=1
pkgdesc="S3 ViRGE 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,16 +14,9 @@ makedepends="xorg-server-dev libxi-dev fontsproto randrproto
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
"
-prepare() {
- cd "$srcdir"/$pkgname-$pkgver
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -34,7 +27,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}