aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/regina-rexx/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/regina-rexx/APKBUILD')
-rw-r--r--unmaintained/regina-rexx/APKBUILD55
1 files changed, 55 insertions, 0 deletions
diff --git a/unmaintained/regina-rexx/APKBUILD b/unmaintained/regina-rexx/APKBUILD
new file mode 100644
index 0000000000..4dea475167
--- /dev/null
+++ b/unmaintained/regina-rexx/APKBUILD
@@ -0,0 +1,55 @@
+# Contributor:
+# Maintainer:
+pkgname=regina-rexx
+_pkgname=Regina-REXX
+pkgver=3.7
+pkgrel=0
+pkgdesc="Regina is an implementation of a Rexx interpreter."
+url="http://regina-rexx.sourceforge.net/"
+arch=""
+license="LGPL"
+depends=
+depends_dev=
+makedepends=""
+install=""
+subpackages="$pkgname-doc"
+source="regina-rexx.initd
+ http://downloads.sourceforge.net/regina-rexx/$_pkgname-$pkgver.tar.gz
+ "
+
+_builddir="$srcdir"/$_pkgname-$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 \
+ --libdir=/usr/lib \
+ || return 1
+ make -j1 || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make -j1 DESTDIR="$pkgdir" install || return 1
+ rm -rf "$pkgdir"/usr/etc
+ install -m755 -D "$srcdir"/$pkgname.initd \
+ "$pkgdir"/etc/init.d/$pkgname || return 1
+}
+
+md5sums="d798859c38eb61088f1ca20b16e78639 regina-rexx.initd
+276235e489f7f8596cb9c6e00f8a61f3 Regina-REXX-3.7.tar.gz"
+sha256sums="cad62b61b57b109d619467302e72092ebb83ede166aa9e60adafded791bd3eb3 regina-rexx.initd
+133c9e0fd9e09f9adfc4108f43b727e191e4c4c01711cfa26416799d21d1e7fe Regina-REXX-3.7.tar.gz"
+sha512sums="1d4955ab4d1d5ef46fffecf2e3ebddf889d2108683bc41d2eb04c988ec416c48ae061d349705fc7018a22ff23a92fe1be7328a68f2145292a4d511bfa82b7b70 regina-rexx.initd
+5ae88611baa43fbc3325cb814c9cb4cedc454f36c1f9a18cdf82c755bb75531ab9bd5d0088f340808790959feac691e4bf72c69b33f1fe554e9d26eb880dfc4a Regina-REXX-3.7.tar.gz"