summaryrefslogtreecommitdiff
path: root/user/dejagnu/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-12 03:24:19 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-12 03:24:19 +0000
commit96f80b2d944ef46f69e41b654a0a02baeb202cd3 (patch)
tree47a6c36cba0c6b0c1994895f314ac8eaf36f0cf3 /user/dejagnu/APKBUILD
parent5cd5a4352c5e039d6102fbb4e668133cd2104d7c (diff)
downloadpackages-96f80b2d944ef46f69e41b654a0a02baeb202cd3.tar.gz
packages-96f80b2d944ef46f69e41b654a0a02baeb202cd3.tar.bz2
packages-96f80b2d944ef46f69e41b654a0a02baeb202cd3.tar.xz
packages-96f80b2d944ef46f69e41b654a0a02baeb202cd3.zip
user/dejagnu: new package
Diffstat (limited to 'user/dejagnu/APKBUILD')
-rw-r--r--user/dejagnu/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/dejagnu/APKBUILD b/user/dejagnu/APKBUILD
new file mode 100644
index 000000000..3399fb029
--- /dev/null
+++ b/user/dejagnu/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+
+pkgname=dejagnu
+pkgver=1.6
+pkgrel=0
+pkgdesc="A framework for testing other programs"
+url="https://www.gnu.org/software/dejagnu/"
+arch="noarch"
+license="GPL-3"
+makedepends="expect tcl>=8.5"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+
+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
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+sha512sums="a494dd5cde8d275b397116049c93e183f5f1731d63660ee8d2f4263b099fc5be7fbddde927fab3ccd5f000c43d50242f94bbb4d95497b915ea53be418bc145bc dejagnu-1.6.tar.gz"