summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/automake/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/automake/APKBUILD b/main/automake/APKBUILD
index 356f68e3f..1164a504b 100644
--- a/main/automake/APKBUILD
+++ b/main/automake/APKBUILD
@@ -3,7 +3,7 @@ pkgname=automake
pkgver=1.11
pkgrel=0
pkgdesc="A GNU tool for automatically creating Makefiles"
-arch=i486
+arch="x86 x86_64"
license=GPL
url="http://www.gnu.org/software/automake"
source=ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
@@ -12,9 +12,13 @@ makedepends="autoconf"
subpackages="$pkgname-doc"
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}