summaryrefslogtreecommitdiffstats
path: root/main/autoconf
diff options
context:
space:
mode:
Diffstat (limited to 'main/autoconf')
-rw-r--r--main/autoconf/APKBUILD13
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