summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-06-12 15:03:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-06-12 15:03:15 +0000
commit178067b126f4aec6895280705a681fbcde50e04d (patch)
treea2e5a1e74543b6e6d0fcec0750f763015ef77770 /main
parentdbb1562979f30e86531e2d27ea07119263113873 (diff)
downloadaports-178067b126f4aec6895280705a681fbcde50e04d.tar.bz2
aports-178067b126f4aec6895280705a681fbcde50e04d.tar.xz
main/giflib: upgrade to 4.2.1 and split out -utils pkg
Diffstat (limited to 'main')
-rw-r--r--main/giflib/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/main/giflib/APKBUILD b/main/giflib/APKBUILD
index 31544e7eb..a0fda66f3 100644
--- a/main/giflib/APKBUILD
+++ b/main/giflib/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=giflib
-pkgver=4.1.6
-pkgrel=7
+pkgver=4.2.1
+pkgrel=0
pkgdesc="A library for reading and writing gif images"
url="http://sourceforge.net/projects/giflib/"
arch="all"
license="MIT"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
depends=
-makedepends="libx11-dev libsm-dev util-linux-dev"
+makedepends="libx11-dev libsm-dev util-linux-dev xmlto"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2"
build () {
@@ -30,4 +30,13 @@ package() {
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
}
-md5sums="7125644155ae6ad33dbc9fc15a14735f giflib-4.1.6.tar.bz2"
+
+utils() {
+ pkgdesc="Programs for manipulating GIF format image files"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
+md5sums="bbd3324af24156d5d7e66ab1cee8508d giflib-4.2.1.tar.bz2"
+sha256sums="3f6c9dea12e41d00e253f7465d714d09248a8bcbed3415c25fd9ce50a1cdded6 giflib-4.2.1.tar.bz2"
+sha512sums="21e0db2db15ce65f27acd4e2b6f9aaf72a95781bbf20150a869a25c1d722d731ae20a396c973d325ae4eba22fa64d19c485382cc202f5ad8e3172482dffb8d73 giflib-4.2.1.tar.bz2"