aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-06-02 19:39:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-02 19:39:49 +0000
commit09531cbafeb88d43f4f7cd7cf49b7764d6d97304 (patch)
tree7ded5ddd9b357f14f1b5ee9ba7255d59dbb5442f /testing
parent9b83bc7c86649236cd4f3007037023c7d23063bf (diff)
downloadaports-09531cbafeb88d43f4f7cd7cf49b7764d6d97304.tar.bz2
aports-09531cbafeb88d43f4f7cd7cf49b7764d6d97304.tar.xz
testing/regina-rexx: disble due to it does not build with musl
Diffstat (limited to 'testing')
-rw-r--r--testing/regina-rexx/APKBUILD23
-rw-r--r--testing/regina-rexx/llong.patch22
2 files changed, 38 insertions, 7 deletions
diff --git a/testing/regina-rexx/APKBUILD b/testing/regina-rexx/APKBUILD
index e5b14331cb..4dea475167 100644
--- a/testing/regina-rexx/APKBUILD
+++ b/testing/regina-rexx/APKBUILD
@@ -2,11 +2,11 @@
# Maintainer:
pkgname=regina-rexx
_pkgname=Regina-REXX
-pkgver=3.5
-pkgrel=1
+pkgver=3.7
+pkgrel=0
pkgdesc="Regina is an implementation of a Rexx interpreter."
url="http://regina-rexx.sourceforge.net/"
-arch="all"
+arch=""
license="LGPL"
depends=
depends_dev=
@@ -14,7 +14,8 @@ makedepends=""
install=""
subpackages="$pkgname-doc"
source="regina-rexx.initd
- http://downloads.sourceforge.net/regina-rexx/$_pkgname-$pkgver.tar.gz"
+ http://downloads.sourceforge.net/regina-rexx/$_pkgname-$pkgver.tar.gz
+ "
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
@@ -29,7 +30,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr --libdir=/usr/lib
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ || return 1
make -j1 || return 1
}
@@ -37,10 +43,13 @@ 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
-914e223d882f0e4a35f4efda0a75920d Regina-REXX-3.5.tar.gz"
+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"
diff --git a/testing/regina-rexx/llong.patch b/testing/regina-rexx/llong.patch
new file mode 100644
index 0000000000..37c3cef3dd
--- /dev/null
+++ b/testing/regina-rexx/llong.patch
@@ -0,0 +1,22 @@
+--- Regina-REXX-3.7.orig/gci/gci_convert.linux.i86
++++ Regina-REXX-3.7/gci/gci_convert.linux.i86
+@@ -43,8 +43,8 @@
+ #define GCI_I_4m INT_MIN
+ #define GCI_I_4M INT_MAX
+ #define GCI_I_8 signed long long
+-#define GCI_I_8m LONG_LONG_MIN
+-#define GCI_I_8M LONG_LONG_MAX
++#define GCI_I_8m LLONG_MIN
++#define GCI_I_8M LLONG_MAX
+
+ #define GCI_Ur strtoull
+ #define GCI_Uw(s,v) sprintf( s, "%Lu", v )
+@@ -55,7 +55,7 @@
+ #define GCI_U_4 unsigned
+ #define GCI_U_4M UINT_MAX
+ #define GCI_U_8 unsigned long long
+-#define GCI_U_8M ULONG_LONG_MAX
++#define GCI_U_8M ULLONG_MAX
+
+ #define GCI_Fr strtold
+ #define GCI_Fw(s,v) sprintf( s, "%.*LE", LDBL_MANT_DIG/3, v )