aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-13 15:57:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-13 15:57:33 +0000
commit274c1072d286ab5def79cb16798ae89e6d71017d (patch)
tree58ed03fb787b1d2fb61e0c40e1580b95ad8080d2
parent167dfd8459a5d24fea3f7237e9b940516156ebdc (diff)
downloadaports-274c1072d286ab5def79cb16798ae89e6d71017d.tar.bz2
aports-274c1072d286ab5def79cb16798ae89e6d71017d.tar.xz
main/automake: update arch
-rw-r--r--main/automake/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/automake/APKBUILD b/main/automake/APKBUILD
index 356f68e3f5..1164a504bb 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
}