development/chicken: Updated for version 4.11.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Erik Falor 2016-08-19 16:36:08 +07:00 committed by Willy Sudiarto Raharjo
parent 769358f4b5
commit d1f72bf6ee
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 11 additions and 11 deletions

View file

@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chicken
VERSION=${VERSION:-4.10.0}
VERSION=${VERSION:-4.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -59,15 +59,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Don't let CHICKEN use $ARCH as a variable.
for f in defaults.make Makefile.linux rules.make
@ -93,7 +93,7 @@ make install \
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{.7,} )
( cd $PKG/usr/lib${LIBDIRSUFFIX} ; rm -f *.so ; ln -s libchicken.so{.8,} )
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

View file

@ -1,8 +1,8 @@
PRGNAM="chicken"
VERSION="4.10.0"
VERSION="4.11.0"
HOMEPAGE="http://call-cc.org"
DOWNLOAD="http://code.call-cc.org/releases/4.10.0/chicken-4.10.0.tar.gz"
MD5SUM="5585edb369eb2a49f1f92775419852e7"
DOWNLOAD="http://code.call-cc.org/releases/4.11.0/chicken.tar.gz"
MD5SUM="065a6bae6e91e75f6e296cf3f5cb8b1d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""