aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 10:19:42 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 10:19:42 +0000
commit83f3b2fd58792182537307e12b66d322f381d826 (patch)
treeb7cf233e8eb7e0de230920c7d6ff92a55e73c122
parentf70f846231ba36b7b95a837e526f865c2a272b37 (diff)
downloadaports-83f3b2fd58792182537307e12b66d322f381d826.tar.bz2
aports-83f3b2fd58792182537307e12b66d322f381d826.tar.xz
community/graphicsmagick: moved from testing
-rw-r--r--community/graphicsmagick/APKBUILD (renamed from testing/graphicsmagick/APKBUILD)15
1 files changed, 3 insertions, 12 deletions
diff --git a/testing/graphicsmagick/APKBUILD b/community/graphicsmagick/APKBUILD
index 3c9549a6c6..5dcb382c6e 100644
--- a/testing/graphicsmagick/APKBUILD
+++ b/community/graphicsmagick/APKBUILD
@@ -15,19 +15,10 @@ subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname/$pkgver/GraphicsMagick-$pkgver.tar.xz"
options="libtool"
-_builddir="$srcdir"/GraphicsMagick-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/GraphicsMagick-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -47,7 +38,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}