aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpng/APKBUILD
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2016-12-30 13:16:10 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-02-07 13:57:01 +0200
commit3590263a20953a57cfdaf4313e263bd5e7386fee (patch)
tree14ef173c88cfb1609c6ddd6b0bbbdbdfc2071b51 /main/libpng/APKBUILD
parentbd5b4ea8aa685483faa8c9cde54138d5bc45a584 (diff)
downloadaports-3590263a20953a57cfdaf4313e263bd5e7386fee.tar.bz2
aports-3590263a20953a57cfdaf4313e263bd5e7386fee.tar.xz
main/libpng: move binaries to -utils subpackage
Diffstat (limited to 'main/libpng/APKBUILD')
-rw-r--r--main/libpng/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/libpng/APKBUILD b/main/libpng/APKBUILD
index 03a2edce7b..43424e1339 100644
--- a/main/libpng/APKBUILD
+++ b/main/libpng/APKBUILD
@@ -3,7 +3,7 @@
pkgname=libpng
pkgver=1.6.27
_apngver=1.6.26
-pkgrel=0
+pkgrel=1
pkgdesc="Portable Network Graphics library"
url="http://www.libpng.org/"
arch="all"
@@ -11,14 +11,12 @@ license="GPL"
depends=""
depends_dev="zlib-dev"
makedepends="$depends_dev gawk"
-subpackages="$pkgname-doc $pkgname-dev"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-utils"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
http://downloads.sourceforge.net/sourceforge/libpng-apng/libpng-$_apngver-apng.patch.gz
-
libpng-fix-arm-neon.patch
"
-
-builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$builddir"
@@ -46,6 +44,12 @@ package() {
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1
}
+utils() {
+ pkgdesc="$pkgdesc (pngfix utils)"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr
+}
+
md5sums="58698519e9f6126c1caeefc28dbcbd5f libpng-1.6.27.tar.gz
921d2717418bf74b40b94191c8b282c7 libpng-1.6.26-apng.patch.gz
e58c8d9a4086999456de13b2c4b9e224 libpng-fix-arm-neon.patch"