APKBUILD 836 Bytes
Newer Older
1
# Contributor: A. Wilcox <awilfox@adelielinux.org>
Leo's avatar
Leo committed
2
# Maintainer:
3

Natanael Copa's avatar
Natanael Copa committed
4
pkgname=dejagnu
5
pkgver=1.6.2
A. Wilcox's avatar
A. Wilcox committed
6
pkgrel=0
7 8
pkgdesc="A framework for testing other programs"
url="https://www.gnu.org/software/dejagnu/"
Natanael Copa's avatar
Natanael Copa committed
9
arch="noarch"
10
license="GPL-3.0-or-later"
Natanael Copa's avatar
Natanael Copa committed
11
depends="expect"
12 13 14
makedepends="tcl>=8.5"
subpackages="$pkgname-dev $pkgname-doc"
source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
Natanael Copa's avatar
Natanael Copa committed
15 16

build() {
17
	cd "$builddir"
Natanael Copa's avatar
Natanael Copa committed
18 19 20 21 22 23
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
24 25
		--localstatedir=/var
	make
Natanael Copa's avatar
Natanael Copa committed
26 27
}

28
check() {
29
	cd "$builddir"
30
	make check
31 32
}

33
package() {
34
	cd "$builddir"
35
	make DESTDIR="$pkgdir" install
Natanael Copa's avatar
Natanael Copa committed
36 37
}

38
sha512sums="ae527ce245871d49b84773d0d14b1ea6b2316c88097eeb84091a3aa885ff007eeaa1cd9c5b002d94a956d218451079b5e170561ffa43a291d9d82283aa834042  dejagnu-1.6.2.tar.gz"