From e17f6d3fcc3a0116520b12d75d55a6fad770e27e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 18 Dec 2009 10:14:55 +0000 Subject: x11/xf86-video-*: cleanup and rebuild against gcc-4.4.2 --- x11/xf86-video-i128/APKBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'x11/xf86-video-i128/APKBUILD') diff --git a/x11/xf86-video-i128/APKBUILD b/x11/xf86-video-i128/APKBUILD index 3cdde54adb..5374446fad 100644 --- a/x11/xf86-video-i128/APKBUILD +++ b/x11/xf86-video-i128/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=xf86-video-i128 pkgver=1.3.3 -pkgrel=0 +pkgrel=1 pkgdesc="Number 9 I128 video driver" url="http://xorg.freedesktop.org/" license="custom" @@ -10,15 +10,17 @@ 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 LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./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 } -- cgit v1.2.3