diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-09-30 06:50:11 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-09-30 06:50:11 +0000 |
commit | 3cbacc3c5e414a58ae215445519eb46db4921e08 (patch) | |
tree | fdda868b3483e251d6dd9c91f429ae094f093b45 /main/xtables-addons/APKBUILD | |
parent | d48c529a8295229678d40751772417ef08a681f4 (diff) | |
download | aports-3cbacc3c5e414a58ae215445519eb46db4921e08.tar.bz2 aports-3cbacc3c5e414a58ae215445519eb46db4921e08.tar.xz |
main/[various]: update config.sub
Diffstat (limited to 'main/xtables-addons/APKBUILD')
-rw-r--r-- | main/xtables-addons/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/xtables-addons/APKBUILD b/main/xtables-addons/APKBUILD index 91c4c96a76..90c30904f2 100644 --- a/main/xtables-addons/APKBUILD +++ b/main/xtables-addons/APKBUILD @@ -12,8 +12,15 @@ install= subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$_builddir" ./configure \ --build=$CBUILD \ @@ -27,7 +34,7 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$_builddir" make builddir= DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 } |