aboutsummaryrefslogtreecommitdiffstats
path: root/main/giflib/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-24 11:46:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-24 11:46:25 +0000
commit2057830568a945a6c70fbf86f08f57909c565b3c (patch)
tree31a8ded304d7838df0ac8ffa0d5d2046e4a2e75b /main/giflib/APKBUILD
parent3740156327056898fc0c327e9e0cd5b19b7ae5fe (diff)
downloadaports-2057830568a945a6c70fbf86f08f57909c565b3c.tar.bz2
aports-2057830568a945a6c70fbf86f08f57909c565b3c.tar.xz
main/giflib: remove libungif compat
nothing seems to use it and its likely broken
Diffstat (limited to 'main/giflib/APKBUILD')
-rw-r--r--main/giflib/APKBUILD9
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() {