aboutsummaryrefslogtreecommitdiffstats
path: root/testing/autoconf-archive/APKBUILD
blob: 28db9b97741866511863b4c2ee99242819fdceb2 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=autoconf-archive
pkgver=2017.09.28
pkgrel=0
pkgdesc="A collection of freely re-usable Autoconf macros"
url="http://www.gnu.org/software/autoconf-archive/"
arch="noarch"
license="GPL"
depends="autoconf"
makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://open-source-box.org/autoconf-archive/autoconf-archive-$pkgver.tar.xz"
builddir="$srcdir/autoconf-archive-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="2aa271fdd67fa3caf20e07eb8332d88f7008eefe1df447980d42cb2104313d99947b94ffdb0f6f4b4c8156cfc73d9e0b6c27a5f133c6b73787ef641d9951be90  autoconf-archive-2017.09.28.tar.xz"