aboutsummaryrefslogtreecommitdiffstats
path: root/main/automake/APKBUILD
blob: 1f455a13b6fd3868ecf944838883f5c8b8368de6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=automake
pkgver=1.14
pkgrel=0
pkgdesc="A GNU tool for automatically creating Makefiles"
url="http://www.gnu.org/software/automake"
arch="noarch"
license="GPL2+ MIT Public Domain"
depends="perl"
makedepends="autoconf"
subpackages="$pkgname-doc"
source=ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR=$pkgdir install || return 1
}

md5sums="a3c0d9298c6112f5f2c26c639ccaaed7  automake-1.14.tar.gz"
sha256sums="7847424d4204d1627c129e9c15b81e145836afa2a1bf9003ffe10aa26ea75755  automake-1.14.tar.gz"
sha512sums="4f862556a292d77f9514d1edfa8a5586d6aa96cca416d7d7eb5bd7e6e36995956f8b59e213936d82ee8e7ca10b4d0fa6c056beab52a907a9713f87a168fbd818  automake-1.14.tar.gz"