aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-27 05:48:28 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-29 15:55:31 +0000
commit3067a65350300ab400e17cf0f3c38bc31f47f851 (patch)
tree61c095e4aa1dbbc60cb83dc97c5a45947b7d015d
parent2d3818d500c4a00b1e11bde3220fe301dfce5a57 (diff)
downloadaports-3067a65350300ab400e17cf0f3c38bc31f47f851.tar.gz
aports-3067a65350300ab400e17cf0f3c38bc31f47f851.tar.bz2
aports-3067a65350300ab400e17cf0f3c38bc31f47f851.tar.xz
community/libmng: move from main
-rw-r--r--community/libmng/APKBUILD (renamed from main/libmng/APKBUILD)12
1 files changed, 3 insertions, 9 deletions
diff --git a/main/libmng/APKBUILD b/community/libmng/APKBUILD
index a9b6169190..7d5eb37fd2 100644
--- a/main/libmng/APKBUILD
+++ b/community/libmng/APKBUILD
@@ -6,20 +6,16 @@ pkgdesc="A collection of routines used to create and manipulate MNG format graph
url="http://www.libmng.com/"
arch="all"
license="custom"
-depends=""
depends_dev="libjpeg-turbo-dev"
makedepends="$depends_dev zlib-dev lcms2-dev autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/sourceforge/libmng/libmng-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$_builddir"
autoreconf --force --install
}
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,14 +24,12 @@ build() {
--disable-static \
--with-zlib \
--with-jpeg \
- --with-lcms2 \
- || return 1
- make || return 1
+ --with-lcms2
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}