Commit 9d8b1cce authored by A. Wilcox's avatar A. Wilcox Committed by Natanael Copa
Browse files

testing/dejagnu: modernize and take maintainership

parent e113dc87
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment