aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-12-07 16:25:24 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2015-12-07 16:25:24 +0100
commit984b4aa72d0a7fd813956d184fc42e8e90293901 (patch)
tree97e6a7841e5c814b35699948789bdab509c01ce7 /unmaintained
parent0c16be5d690052aa3d4355a9cb6c56c6c6a9ac0e (diff)
downloadaports-984b4aa72d0a7fd813956d184fc42e8e90293901.tar.bz2
aports-984b4aa72d0a7fd813956d184fc42e8e90293901.tar.xz
testing/clisp: move to unmaintained
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/clisp/APKBUILD51
-rw-r--r--unmaintained/clisp/no-page.h.patch12
2 files changed, 63 insertions, 0 deletions
diff --git a/unmaintained/clisp/APKBUILD b/unmaintained/clisp/APKBUILD
new file mode 100644
index 0000000000..1e8ab17318
--- /dev/null
+++ b/unmaintained/clisp/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=clisp
+pkgver=2.49
+pkgrel=1
+pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
+url="http://clisp.cons.org/"
+arch=""
+license="GPL"
+depends=""
+depends_dev="readline-dev libsigsegv-dev ffcall ncurses-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://downloads.sourceforge.net/sourceforge/clisp/clisp-$pkgver.tar.bz2
+ no-page.h.patch"
+_builddir="$srcdir"/clisp-$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
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ulimit -s 16384
+ _configure="--prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi \
+ --mandir=/usr/share/man --infodir=/usr/share/info"
+ ./configure $_configure || return 1
+ cd src
+ ./makemake $_configure > Makefile
+ make -j1 || return 1
+}
+
+package() {
+ cd "$_builddir"/src
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="1962b99d5e530390ec3829236d168649 clisp-2.49.tar.bz2
+a8456d6a45340e091055b58c306022ef no-page.h.patch"
+sha256sums="8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890 clisp-2.49.tar.bz2
+2d3bd8dde82e5cdf0a3825a0b67df110e20e19541308509d1165029c589b3d0a no-page.h.patch"
+sha512sums="eef66fc85199a2c283b616db61bf67ff103eeb0f19fa907da48994dc790b6f5f8d0c74fb3bd723c6b827c0ff3cfd89fa6ba67934fc669ed5d5249044b5140d81 clisp-2.49.tar.bz2
+86273c5d5d05a8d41ab6311192e0c757d3f7fe4d78546590830aa00f8c2f170fcb08f66ea739ae8834cec00cdf0f6a20824eb6a3d0f6df97be405c26b1cc5d39 no-page.h.patch"
diff --git a/unmaintained/clisp/no-page.h.patch b/unmaintained/clisp/no-page.h.patch
new file mode 100644
index 0000000000..aafb98a31e
--- /dev/null
+++ b/unmaintained/clisp/no-page.h.patch
@@ -0,0 +1,12 @@
+--- a/src/unix.d
++++ b/src/unix.d
+@@ -135,9 +135,6 @@
+ #ifdef UNIX_AUX
+ #include <sys/mmu.h> /* for SHMLBA */
+ #endif
+- #if defined(UNIX_LINUX) && !defined(UNIX_GNU)
+- #include <asm/page.h> /* for SHMLBA on Linux 2.0 */
+- #endif
+ /* <sys/shm.h> declares shmget(), shmat(), shmdt(), shmctl() */
+ #endif
+ /* used by SPVW, STREAM */