aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xf86-video-tseng/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-04 15:38:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-04 15:38:36 +0000
commit680d723889ba9d4dfdbf76cfe3338dfa92de8b79 (patch)
treee573a2b7efb30d21230bbdce6a70dd07229a8201 /x11/xf86-video-tseng/APKBUILD
parente77691390c21a505652a4cd5a58bf0d5a039d330 (diff)
downloadaports-680d723889ba9d4dfdbf76cfe3338dfa92de8b79.tar.bz2
aports-680d723889ba9d4dfdbf76cfe3338dfa92de8b79.tar.xz
x11/xf86-video-tseng: upgrade to 1.2.3
Diffstat (limited to 'x11/xf86-video-tseng/APKBUILD')
-rw-r--r--x11/xf86-video-tseng/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/x11/xf86-video-tseng/APKBUILD b/x11/xf86-video-tseng/APKBUILD
index de9726f97d..a5e8140719 100644
--- a/x11/xf86-video-tseng/APKBUILD
+++ b/x11/xf86-video-tseng/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-tseng
-pkgver=1.2.2
+pkgver=1.2.3
pkgrel=0
pkgdesc="Tseng Labs video driver"
url="http://xorg.freedesktop.org/"
@@ -10,16 +10,18 @@ depends=
makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto
videoproto renderproto"
-source="http://xorg.freedesktop.org//releases/individual/driver/$pkgname-$pkgver.tar.bz2"
+source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
- ${CC:-gcc} -dumpspecs | sed 's/%(link_now)//g' > "$srcdir"/gcc-specs
- export GCC_SPECS="$srcdir"/gcc-specs
+ export GCC_SPECS=/usr/share/gcc/hardenednoznow.specs
./configure --prefix=/usr || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="f55df4cb0e6cffcd3721164f35dfc88d xf86-video-tseng-1.2.2.tar.bz2"
+md5sums="79f63999c88477801ae54dc486272ad6 xf86-video-tseng-1.2.3.tar.bz2"