diff options
Diffstat (limited to 'main/giflib/APKBUILD')
-rw-r--r-- | main/giflib/APKBUILD | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/main/giflib/APKBUILD b/main/giflib/APKBUILD index fa1cc926dc..34b5b620c4 100644 --- a/main/giflib/APKBUILD +++ b/main/giflib/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=giflib pkgver=5.1.4 -pkgrel=0 +pkgrel=1 pkgdesc="A library for reading and writing gif images" url="http://sourceforge.net/projects/giflib/" arch="all" @@ -28,10 +28,9 @@ build () { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ + --disable-static \ || return 1 make || return 1 - MAJOR=`echo $pkgver | sed 's/\([0-9]\+\)\..*/\1/'` - gcc -shared -Wl,-soname,libungif.so.${MAJOR} -Llib/.libs -lgif -o libungif.so.$pkgver || return 1 } package() { @@ -39,10 +38,6 @@ package() { make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING \ || return 1 - - install -m755 libungif.so.$pkgver "$pkgdir"/usr/lib/ || return 1 - ln -sf libungif.so.$pkgver "$pkgdir"/usr/lib/libungif.so.4 || return 1 - ln -sf libungif.so.4 "$pkgdir"/usr/lib/libungif.so || return 1 } utils() { |