diff options
Diffstat (limited to 'testing/dejagnu')
-rw-r--r-- | testing/dejagnu/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/dejagnu/APKBUILD b/testing/dejagnu/APKBUILD new file mode 100644 index 0000000000..0a94c099fa --- /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" |