diff options
Diffstat (limited to 'development/chicken/chicken.SlackBuild')
-rw-r--r-- | development/chicken/chicken.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/development/chicken/chicken.SlackBuild b/development/chicken/chicken.SlackBuild index 2837899787a4d..5c5ea0bddc1f4 100644 --- a/development/chicken/chicken.SlackBuild +++ b/development/chicken/chicken.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for CHICKEN Scheme -# Written by Erik Falor (ewfalor@gmail.com) 2017 +# Written by Erik Falor (ewfalor@gmail.com) 2018 # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,8 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +# increment this number to match the Chicken library version +CHICKEN_API_VER=9 + PRGNAM=chicken -VERSION=${VERSION:-4.13.0} +VERSION=${VERSION:-5.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,7 +64,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . @@ -92,8 +97,8 @@ make install \ DOCDIR=/usr/doc/$PRGNAM-$VERSION \ DESTDIR=$PKG -# should be a symbolic link not a copy otherwise ldconfig will cry -( cd $PKG/usr/lib${LIBDIRSUFFIX} ; rm -f *.so ; ln -s libchicken.so{.8,} ) +# This should be a symbolic link not a copy otherwise ldconfig will cry +( cd $PKG/usr/lib${LIBDIRSUFFIX} ; rm -f *.so ; ln -s libchicken.so{.$CHICKEN_API_VER,} ) find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |