diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-07-30 08:51:11 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-07-30 08:54:53 +0000 |
commit | 5c904717322f8113870abf48cc93c3c8b00ab4e8 (patch) | |
tree | e077e5c3afa20630fd6e96db5872f03d622d639e /main/gzip | |
parent | a879839450737e3cbdb64415af42347c97ccfa28 (diff) | |
download | aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.bz2 aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.xz |
[all autotools packages]: normalize ./configure
Diffstat (limited to 'main/gzip')
-rw-r--r-- | main/gzip/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/gzip/APKBUILD b/main/gzip/APKBUILD index fec3177a3..b1b062c06 100644 --- a/main/gzip/APKBUILD +++ b/main/gzip/APKBUILD @@ -19,9 +19,13 @@ build() { # avoid text relocation export DEFS="NO_ASM" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } @@ -29,6 +33,9 @@ package() { cd "$_builddir" make DESTDIR=$pkgdir install + rm -rf "$pkgdir"/usr/lib/charset.alias + rmdir -p "$pkgdir"/usr/lib 2>/dev/null + mkdir -p "$pkgdir"/bin mv "$pkgdir"/usr/bin/gzip "$pkgdir"/usr/bin/gunzip "$pkgdir"/bin/ ln -s /bin/gzip "$pkgdir"/usr/bin/gzip |