diff options
author | A. Wilcox <awilfox@adelielinux.org> | 2017-06-12 11:23:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-12 11:24:31 +0000 |
commit | 9d8b1cced2ccc23b22c55daf467b13273aae361b (patch) | |
tree | a058f641828a7a81ef6683873ac23e4910d9c3cc /testing | |
parent | e113dc8756cc64f14fb7cf90e5107593a762ed9e (diff) | |
download | aports-9d8b1cced2ccc23b22c55daf467b13273aae361b.tar.bz2 aports-9d8b1cced2ccc23b22c55daf467b13273aae361b.tar.xz |
testing/dejagnu: modernize and take maintainership
Diffstat (limited to 'testing')
-rw-r--r-- | testing/dejagnu/APKBUILD | 49 |
1 files changed, 19 insertions, 30 deletions
diff --git a/testing/dejagnu/APKBUILD b/testing/dejagnu/APKBUILD index d3e78f331e..87c264a078 100644 --- a/testing/dejagnu/APKBUILD +++ b/testing/dejagnu/APKBUILD @@ -1,49 +1,38 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> + pkgname=dejagnu pkgver=1.6 -pkgrel=0 -pkgdesc="A front end for testing other programs" -url="http://www.gnu.org/software/dejagnu/" +pkgrel=1 +pkgdesc="A framework for testing other programs" +url="https://www.gnu.org/software/dejagnu/" arch="noarch" license="GPLv3+" depends="expect" -depends_dev="" -makedepends="$depends_dev texinfo" -install="" -subpackages="$pkgname-doc" -source="ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-$pkgver.tar.gz" - -_builddir="$srcdir"/dejagnu-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +makedepends="tcl>=8.5" +subpackages="$pkgname-dev $pkgname-doc" +source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +check() { + cd "$builddir" + make check } -md5sums="1fdc2eb0d592c4f89d82d24dfdf02f0b dejagnu-1.6.tar.gz" -sha256sums="00b64a618e2b6b581b16eb9131ee80f721baa2669fa0cdee93c500d1a652d763 dejagnu-1.6.tar.gz" sha512sums="a494dd5cde8d275b397116049c93e183f5f1731d63660ee8d2f4263b099fc5be7fbddde927fab3ccd5f000c43d50242f94bbb4d95497b915ea53be418bc145bc dejagnu-1.6.tar.gz" |