aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-06-11 13:26:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-06-11 13:59:55 +0000
commitd48e81184411eedbfcedb2890cc68484913ab512 (patch)
tree89b544d5a99862c3fbb4f3ac1dd33153681d8f3b
parent94810b523e27c0003a61a608cf2fa48ff38c59aa (diff)
downloadaports-d48e81184411eedbfcedb2890cc68484913ab512.tar.bz2
aports-d48e81184411eedbfcedb2890cc68484913ab512.tar.xz
testing/dejagnu: new aport
A front end for testing other programs http://www.gnu.org/software/dejagnu/
-rw-r--r--testing/dejagnu/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/dejagnu/APKBUILD b/testing/dejagnu/APKBUILD
new file mode 100644
index 000000000..0a94c099f
--- /dev/null
+++ b/testing/dejagnu/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer:
+pkgname=dejagnu
+pkgver=1.5.3
+pkgrel=0
+pkgdesc="A front end for testing other programs"
+url="http://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
+}
+
+build() {
+ 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
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="5bda2cdb1af51a80aecce58d6e42bd2f dejagnu-1.5.3.tar.gz"
+sha256sums="099b8e364ca1d6248f8e1d32168c4b12677abff4253bbbb4a8ac8cdd321e3f19 dejagnu-1.5.3.tar.gz"
+sha512sums="464eb17862aa4e6a3fbb11db0c97c0b4b0e57d9468d5c36aa75940c65463285c5e53b41657eec6b0a069f47be89fb772f90012c4777c847026d04c744a291500 dejagnu-1.5.3.tar.gz"