summaryrefslogtreecommitdiffstats
path: root/main/texinfo
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-30 08:51:11 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-07-30 08:54:53 +0000
commit5c904717322f8113870abf48cc93c3c8b00ab4e8 (patch)
treee077e5c3afa20630fd6e96db5872f03d622d639e /main/texinfo
parenta879839450737e3cbdb64415af42347c97ccfa28 (diff)
downloadaports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.bz2
aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.xz
[all autotools packages]: normalize ./configure
Diffstat (limited to 'main/texinfo')
-rw-r--r--main/texinfo/APKBUILD11
1 files changed, 10 insertions, 1 deletions
diff --git a/main/texinfo/APKBUILD b/main/texinfo/APKBUILD
index 121ca9c7d..8e0b3abc0 100644
--- a/main/texinfo/APKBUILD
+++ b/main/texinfo/APKBUILD
@@ -14,15 +14,24 @@ subpackages="$pkgname-doc"
_builddir="$srcdir"/texinfo-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR=${pkgdir} install || return 1
+
rm -f ${pkgdir}/usr/share/info/dir
gzip ${pkgdir}/usr/share/info/*
+
+ rm -rf "$pkgdir"/usr/lib/charset.alias
+ rmdir -p "$pkgdir"/usr/lib 2>/dev/null
+ return 0
}
md5sums="54e250014fe698fb4832016158747c03 texinfo-5.1.tar.gz"