summaryrefslogtreecommitdiff
path: root/system/expect
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 23:29:07 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 23:29:07 -0500
commit42c6e3d01edcaf14f06fc42e1d859810c43111ae (patch)
tree37759da60775e9a9af6904e6e4b379100c62d44f /system/expect
parentef1e4350517ea6c690e54fae2a8a1ce1184fa6b1 (diff)
downloadpackages-42c6e3d01edcaf14f06fc42e1d859810c43111ae.tar.gz
packages-42c6e3d01edcaf14f06fc42e1d859810c43111ae.tar.bz2
packages-42c6e3d01edcaf14f06fc42e1d859810c43111ae.tar.xz
packages-42c6e3d01edcaf14f06fc42e1d859810c43111ae.zip
system/expect: bring in for dejagnu
Diffstat (limited to 'system/expect')
-rw-r--r--system/expect/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/system/expect/APKBUILD b/system/expect/APKBUILD
new file mode 100644
index 000000000..3abcd610e
--- /dev/null
+++ b/system/expect/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=expect
+pkgver=5.45.4
+pkgrel=0
+pkgdesc="A tool for automating interactive applications"
+url="https://www.nist.gov/services-resources/software/expect"
+arch="all"
+license="Public-Domain"
+makedepends="tcl-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://downloads.sourceforge.net/project/expect/Expect/$pkgver/$pkgname$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname$pkgver
+
+prepare() {
+ default_prepare
+ cd "$builddir"
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/share/man \
+ --with-tcl=/usr/lib \
+ --with-tclinclude=/usr/include \
+ --disable-rpath
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="a8dc25e8175f67e029e15cbcfca1705165c1c4cb2dd37eaaaebffb61e3ba132d9519cd73ca5add4c3358a2b0b7a91e878279e8d0b72143ff2c287fce07e4659a expect5.45.4.tar.gz"