summaryrefslogtreecommitdiff
path: root/user/autoconf2.13/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/autoconf2.13/APKBUILD')
-rw-r--r--user/autoconf2.13/APKBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/user/autoconf2.13/APKBUILD b/user/autoconf2.13/APKBUILD
index bd5b533a9..29222ea87 100644
--- a/user/autoconf2.13/APKBUILD
+++ b/user/autoconf2.13/APKBUILD
@@ -3,35 +3,33 @@ pkgname=autoconf2.13
pkgver=2.13
pkgrel=2
pkgdesc="A GNU tool for automatically configuring source code"
+url="https://www.gnu.org/software/autoconf"
arch="noarch"
license="GPL-2.0"
-url="https://www.gnu.org/software/autoconf"
depends="m4 perl"
checkdepends="dejagnu flex gfortran"
-source="ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-${pkgver}.tar.gz
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://ftp.gnu.org/pub/gnu/autoconf/autoconf-${pkgver}.tar.gz
getloadavg.patch
"
-subpackages="$pkgname-doc"
-
builddir="$srcdir"/autoconf-$pkgver
+
prepare() {
default_prepare
update_config_sub # Required for AC_F77_LIBRARY_LDFLAGS
}
build() {
- cd "$builddir"
M4=/usr/bin/m4 ./configure --prefix=/usr --program-suffix=-2.13
make
}
check() {
- cd "$builddir"
F77=gfortran make check
}
package() {
- cd "$builddir"
make prefix="$pkgdir/usr" infodir="$pkgdir/usr/share/info" install
rm -f "$pkgdir"/usr/share/info/dir