diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-10-30 15:40:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-31 12:39:44 +0000 |
commit | a3a10281d82a4363b87b92ae6120c81e213fa234 (patch) | |
tree | b8f55c8af0069eeeac8acdc11933a93e36a1f957 | |
parent | 4c683513478ce1c45ce8fd7f3204e32676ea28d3 (diff) | |
download | aports-a3a10281d82a4363b87b92ae6120c81e213fa234.tar.bz2 aports-a3a10281d82a4363b87b92ae6120c81e213fa234.tar.xz |
main/automake: specify license
-rw-r--r-- | main/automake/APKBUILD | 13 |
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" |