aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/automake/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/automake/APKBUILD b/main/automake/APKBUILD
index 96f2e24e41..1f455a13b6 100644
--- a/main/automake/APKBUILD
+++ b/main/automake/APKBUILD
@@ -3,16 +3,17 @@ pkgname=automake
pkgver=1.14
pkgrel=0
pkgdesc="A GNU tool for automatically creating Makefiles"
-arch="noarch"
-license=GPL
url="http://www.gnu.org/software/automake"
-source=ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
+arch="noarch"
+license="GPL2+ MIT Public Domain"
depends="perl"
makedepends="autoconf"
subpackages="$pkgname-doc"
+source=ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -22,8 +23,8 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
+ cd "$_builddir"
+ make DESTDIR=$pkgdir install || return 1
}
md5sums="a3c0d9298c6112f5f2c26c639ccaaed7 automake-1.14.tar.gz"