diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-10-30 15:36:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-31 12:39:44 +0000 |
commit | 4c683513478ce1c45ce8fd7f3204e32676ea28d3 (patch) | |
tree | b59839aadf97cbc6331397d8be282d77660ce41a /main/autoconf | |
parent | 42b9fc6a207ce7e45198fba9b6fc6b999bdb9de0 (diff) | |
download | aports-4c683513478ce1c45ce8fd7f3204e32676ea28d3.tar.bz2 aports-4c683513478ce1c45ce8fd7f3204e32676ea28d3.tar.xz |
main/autoconf: specify license
Diffstat (limited to 'main/autoconf')
-rw-r--r-- | main/autoconf/APKBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/main/autoconf/APKBUILD b/main/autoconf/APKBUILD index 7b7e90dee..13c60d1c4 100644 --- a/main/autoconf/APKBUILD +++ b/main/autoconf/APKBUILD @@ -4,15 +4,16 @@ pkgver=2.69 pkgrel=0 pkgdesc="A GNU tool for automatically configuring source code" arch="noarch" -license="GPL2 GPL3" +license="GPL2+" url="http://www.gnu.org/software/autoconf" depends="m4 perl" -source="ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz - " subpackages="$pkgname-doc" +source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz + " +_builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" update_config_sub || return 1 for i in $source; do case $i in @@ -24,7 +25,7 @@ prepare() { } build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" M4=/usr/bin/m4 ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -34,7 +35,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm -f "$pkgdir"/usr/share/info/dir # conflict with bintuils |