Browse Source

d/ice: Upgraded to ice-3.6.3.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
9dc9cff79a
  1. 4
      d/ice/checksums
  2. 23
      d/ice/ice.SlackBuild

4
d/ice/checksums

@ -1,2 +1,2 @@
7516941c2ac63d300dd1ee95813cf60e7316c3cb ice-3.6.2.tar.gz
d438691dd735cd437662e26008098c3c94158555 mcpp-2.7.2-4ice.tar.gz
82ff74e6d24d9fa396dbb4d9697dc183b17bc9c3f6f076fecdc05632be80a2dc ice-3.6.3.tar.gz
a44cf5459f1146965dc94096f380d59865bd561dbb331b5ccbcfa535d47f3463 mcpp-2.7.2.12.tar.gz

23
d/ice/ice.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2011,2012,2014,2016 Damien Goutte-Gattat
# Copyright (C) 2009,2011,2012,2014,2016,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -28,15 +28,15 @@
# Source package infos
NAMESRC=${NAMESRC:-ice}
VERSION=${VERSION:-3.6.2}
VERSION=${VERSION:-3.6.3}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/zeroc-ice/ice/archive/v$VERSION.tar.gz}
MCPP_ARCHIVE=${MCPP_ARCHIVE:-mcpp-2.7.2-4ice.tar.gz}
MCPP_WGET=${MCPP_WGET:-https://github.com/zeroc-ice/mcpp/archive/v2.7.2-4ice.tar.gz}
MCPP_ARCHIVE=${MCPP_ARCHIVE:-mcpp-2.7.2.12.tar.gz}
MCPP_WGET=${MCPP_WGET:-https://github.com/zeroc-ice/mcpp/archive/v2.7.2.12.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-ice}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -71,7 +71,7 @@ if [ ! -r $MCPP_ARCHIVE ]; then
wget -c -O $MCPP_ARCHIVE.part "$MCPP_WGET"
mv $MCPP_ARCHIVE.part $MCPP_ARCHIVE
fi
sha1sum -c checksums
sha256sum -c checksums
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -79,7 +79,7 @@ cd $TMP
tar xf $CWD/$ARCHIVE
cd $NAME/cpp/third-party-packages
tar xf $CWD/$MCPP_ARCHIVE
cd mcpp-2.7.2-4ice
cd mcpp-2.7.2.12
echo "Building custom MCPP library..."
make -j $JOBS
@ -89,13 +89,13 @@ make -j $JOBS \
prefix=/usr \
DB_FLAGS=-I/usr/include/db53 \
DB_LIBS=-ldb_cxx-5.3 \
MCPP_LIBS="-L$TMP/$NAME/cpp/third-party-packages/mcpp-2.7.2-4ice/lib$LIBDIRSUFFIX -l mcpp"
MCPP_LIBS="-L$TMP/$NAME/cpp/third-party-packages/mcpp-2.7.2.12/lib$LIBDIRSUFFIX -l mcpp"
make install \
DESTDIR=$PKG \
prefix=/usr \
install_mandir=/usr/man/man1 \
DB_LIBS=-ldb_cxx-5.3 \
MCPP_LIBS="-L$TMP/$NAME/cpp/third-party-packages/mcpp-2.7.2-4ice/lib$LIBDIRSUFFIX -l mcpp"
MCPP_LIBS="-L$TMP/$NAME/cpp/third-party-packages/mcpp-2.7.2.12/lib$LIBDIRSUFFIX -l mcpp"
cd ../python
echo "Building Ice Python..."
@ -118,6 +118,11 @@ install -m 644 CHANGELOG-?.?.md CONTRIBUTING.md ICE_LICENSE LICENSE \
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
db53
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save