aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-24 16:07:30 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-24 16:07:30 +0000
commitda39f565fd9d46e3cc44db1e9a920bf752a34bb0 (patch)
treef4bef4f58d4f74a91a7774e42ef0291de3d99aaa
parent48e4e4128c7a60bb68d6d390338831ecc293c28c (diff)
downloadaports-da39f565fd9d46e3cc44db1e9a920bf752a34bb0.tar.bz2
aports-da39f565fd9d46e3cc44db1e9a920bf752a34bb0.tar.xz
community/potrace: moved from testing
-rw-r--r--community/potrace/APKBUILD (renamed from testing/potrace/APKBUILD)15
1 files changed, 3 insertions, 12 deletions
diff --git a/testing/potrace/APKBUILD b/community/potrace/APKBUILD
index 20042f2949..0f67bb6bd1 100644
--- a/testing/potrace/APKBUILD
+++ b/community/potrace/APKBUILD
@@ -14,19 +14,10 @@ install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://potrace.sourceforge.net/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"
-_builddir="${srcdir}"/${pkgname}-${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}"/${pkgname}-${pkgver}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,7 +29,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="${pkgdir}" install
}