aboutsummaryrefslogtreecommitdiffstats
path: root/main/autoconf/APKBUILD
blob: e1e557365f5f2dec732d27b39f532523eaa73723 (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
33
34
35
36
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=autoconf
pkgver=2.69
pkgrel=0
pkgdesc="A GNU tool for automatically configuring source code"
arch="noarch"
license="GPL2+"
url="https://www.gnu.org/software/autoconf"
depends="m4 perl"
subpackages="$pkgname-doc"
source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	update_config_sub
	default_prepare
}

build() {
	cd "$builddir"
	M4=/usr/bin/m4 ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	rm -f "$pkgdir"/usr/share/info/dir
	# conflict with bintuils
	rm -f "$pkgdir"/usr/share/info/standards.info
}

sha512sums="e34c7818bcde14d2cb13cdd293ed17d70740d4d1fd7c67a07b415491ef85d42f450d4fe5f8f80cc330bf75c40a62774c51a4336e06e8da07a4cbc49922d975ee  autoconf-2.69.tar.gz"