aboutsummaryrefslogtreecommitdiffstats
path: root/main/automake/APKBUILD
blob: e68925c7475de9092452adda5787aced23850533 (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.15
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="716946a105ca228ab545fc37a70df3a3  automake-1.15.tar.gz"
sha256sums="7946e945a96e28152ba5a6beb0625ca715c6e32ac55f2e353ef54def0c8ed924  automake-1.15.tar.gz"
sha512sums="6f201f96431f5e3d3081c4d71c884ae1f4f45b9c5c7a1306c9f3f3d4bd5ee5f6fae47b55d35241b3cae84be555cc0ab84c034acdcd5d9a071f6f0ecdee2dec73  automake-1.15.tar.gz"