diff options
Diffstat (limited to 'system/automake')
-rw-r--r-- | system/automake/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/system/automake/APKBUILD b/system/automake/APKBUILD new file mode 100644 index 000000000..aa96c60b0 --- /dev/null +++ b/system/automake/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=automake +pkgver=1.15.1 +pkgrel=1 +pkgdesc="A GNU tool for automatically creating Makefiles" +url="https://www.gnu.org/software/automake" +arch="noarch" +license="GPL-2.0-or-later MIT Public-Domain" +depends="perl" +makedepends="autoconf" +checkdepends="bash gzip coreutils diffutils" +subpackages="$pkgname-doc" +source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +# many tests have bashisms +options="!check" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR=$pkgdir install +} + +sha512sums="f0d4717ebe2c76cec5d487de090f6e1c0f784b0d382fd964ffa846287e2a364a52531a26ab98b7033ac04ed302a247b3b114299def54819a03439bfc962ff61b automake-1.15.1.tar.gz" |