diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-09-29 16:03:35 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-09-29 16:03:35 +0000 |
commit | f6723fe78a8b7ad141c619908bcd809abe43b78d (patch) | |
tree | 109de25c6ec5f7695e45255ad6d8d6f5e203ef86 /main/pth | |
parent | cde4c288fb31f74d2401cef0558ab3c56ada33ca (diff) | |
download | aports-f6723fe78a8b7ad141c619908bcd809abe43b78d.tar.bz2 aports-f6723fe78a8b7ad141c619908bcd809abe43b78d.tar.xz |
main/[various]: update config.sub
Diffstat (limited to 'main/pth')
-rw-r--r-- | main/pth/APKBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/main/pth/APKBUILD b/main/pth/APKBUILD index 5ce8302521..58e6611412 100644 --- a/main/pth/APKBUILD +++ b/main/pth/APKBUILD @@ -14,14 +14,20 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz pth-2.0.6-sigstack.patch " -build () { - cd "$srcdir"/$pkgname-$pkgver +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 for i in ../*.patch; do msg "Applying $i..." patch -p1 < $i || return 1 done +} +build() { + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -35,7 +41,7 @@ build () { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make -j1 DESTDIR="$pkgdir" install rm "$pkgdir"/usr/lib/*.la } |