diff options
Diffstat (limited to 'main/autoconf/APKBUILD')
-rw-r--r-- | main/autoconf/APKBUILD | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/main/autoconf/APKBUILD b/main/autoconf/APKBUILD index 6f568adb62..3883f7b87e 100644 --- a/main/autoconf/APKBUILD +++ b/main/autoconf/APKBUILD @@ -8,35 +8,26 @@ license="GPL2+" url="http://www.gnu.org/software/autoconf" depends="m4 perl" subpackages="$pkgname-doc" -source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz - " +source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) - msg "Applying $i" - patch -p1 -i "$srcdir"/$i || return 1 - esac - done + update_config_sub + default_prepare } build() { - cd "$_builddir" + cd "$builddir" M4=/usr/bin/m4 ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 + --prefix=/usr + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install rm -f "$pkgdir"/usr/share/info/dir # conflict with bintuils rm -f "$pkgdir"/usr/share/info/standards.info |