summaryrefslogtreecommitdiffstats
path: root/source/d/clisp/clisp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/clisp/clisp.SlackBuild')
-rwxr-xr-xsource/d/clisp/clisp.SlackBuild50
1 files changed, 9 insertions, 41 deletions
diff --git a/source/d/clisp/clisp.SlackBuild b/source/d/clisp/clisp.SlackBuild
index f6d9a2680..f98057df1 100755
--- a/source/d/clisp/clisp.SlackBuild
+++ b/source/d/clisp/clisp.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010, 2013 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2013, 2015 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +23,10 @@
VERSION=2.49
DIRNAME=2.49
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Bundled libraries:
-FFCALLVER=20080704cvs
-LIBSIGSEVVER=2.8
+FFCALLVER=20120424cvs
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -63,46 +62,15 @@ rm -rf $PKG
mkdir -p $TMP $PKG
#=================================================================
-# First we need this. It used to ship with CLISP, but no longer does.
-cd $TMP
-rm -rf libsigsegv-$LIBSIGSEVVER
-tar xvf $CWD/libsigsegv-$LIBSIGSEVVER.tar.?z* || exit 1
-cd libsigsegv-$LIBSIGSEVVER || exit 1
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Nah.
-# --enable-shared=yes
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --enable-static=yes
-make $NUMJOBS || make || exit 1
-
-# Now I must install this. Sorry, it's gotta happen.
-make install
-# Now add to the package:
-mkdir -p $PKG/usr
-make install prefix=$PKG/usr
-strip --strip-unneeded $PKG/usr/lib${LIBDIRSUFFIX}/*.so
-strip -g $PKG/usr/lib${LIBDIRSUFFIX}/*.a
-mkdir -p $PKG/usr/doc/clisp-$VERSION/libsigsegv-$LIBSIGSEVVER
-cp -a \
- AUTHORS COPYING ChangeLog NEWS PORTING README \
- $PKG/usr/doc/clisp-$VERSION/libsigsegv-$LIBSIGSEVVER
-
-#=================================================================
# Build ffcall - needed for --dynamic-ffi with clisp.
cd $TMP
rm -rf ffcall*
-tar xvf $CWD/ffcall-$FFCALLVER.tar.* || exit 1
+tar xvf $CWD/ffcall-$FFCALLVER.tar.?z* || exit 1
cd ffcall* || exit 1
+
+# Not sure if this is useful or not, but I'll leave it for MoZes:
+zcat $CWD/ffcall-arm.patch.gz | patch -p1 --verbose || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -139,7 +107,7 @@ rmdir $PKG/usr/share/
# OK, now we compile CLISP:
cd $TMP
rm -rf clisp-$VERSION
-tar xvf $CWD/clisp-$VERSION.tar.bz2 || exit 1
+tar xvf $CWD/clisp-$VERSION.tar.?z* || exit 1
cd clisp-$DIRNAME || exit 1
chown -R root:root .
find . \