Browse Source

d/ice: Upgraded to ice-3.6.2.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent
commit
89190aee2a
  1. 1
      d/ice/Ice-3.5.1.tar.gz.sha1
  2. 1
      d/ice/ice-3.6.2.tar.gz.sha1
  3. 60
      d/ice/ice.SlackBuild

1
d/ice/Ice-3.5.1.tar.gz.sha1

@ -1 +0,0 @@
63599ea22a1e9638a49356682c9e516b7c2c454f Ice-3.5.1.tar.gz

1
d/ice/ice-3.6.2.tar.gz.sha1

@ -0,0 +1 @@
7516941c2ac63d300dd1ee95813cf60e7316c3cb ice-3.6.2.tar.gz

60
d/ice/ice.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2011,2012,2014 Damien Goutte-Gattat
# Copyright (C) 2009,2011,2012,2014,2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,13 +24,13 @@
#
# Latest ice sourcecode is available at: <http://www.zeroc.com/>
#
# Depends: d/mcpp, d/apache-ant
# Depends: d/mcpp, d/pysetuptools
# Source package infos
NAMESRC=${NAMESRC:-Ice}
VERSION=${VERSION:-3.5.1}
NAMESRC=${NAMESRC:-ice}
VERSION=${VERSION:-3.6.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://www.zeroc.com/download/Ice/3.5/$ARCHIVE}
WGET=${WGET:-https://github.com/zeroc-ice/ice/archive/v${VERSION}.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-ice}
@ -88,54 +88,34 @@ cd $NAME/cpp
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
make -j $JOBS \
prefix=/usr \
install_slicedir=/usr/share/slice \
install_configdir=/etc/slice
prefix=/usr
make install \
prefix=$PKG/usr \
install_slicedir=$PKG/usr/share/slice \
install_configdir=$PKG/etc/slice
mkdir -p $PKG/usr/share/$NAME
mv $PKG/usr/lib/ImportKey.class $PKG/usr/share/$NAME
if [ "x$ARCH" = xx86_64 ]; then
rmdir $PKG/usr/lib
fi
DESTDIR=$PKG \
prefix=/usr \
install_mandir=/usr/man/man1
# Install Python bindings
cd ../py
cd ../python
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
make -j $JOBS \
prefix=/usr \
install_slicedir=/usr/share/slice \
install_pythondir=/usr/lib$LIBDIRSUFFIX/ice-python \
install_libdir=/usr/lib$LIBDIRSUFFIX/ice-python
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/ice-python
prefix=/usr
make install \
prefix=$PKG/usr \
install_slicedir=$PKG/usr/share/slice \
install_pythondir=$PKG/usr/lib$LIBDIRSUFFIX/ice-python \
install_libdir=$PKG/usr/lib$LIBDIRSUFFIX/ice-python
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages
echo /usr/lib$LIBDIRSUFFIX/ice-python > \
$PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/ice.pth
# Install Java bindings
cd ../java
ant ice-jar
install -D -m 644 lib/Ice.jar $PKG/usr/share/java/ice-$VERSION.jar
DESTDIR=$PKG \
prefix=/usr
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
mv $PKG/usr/CHANGES $PKG/usr/ICE_LICENSE $PKG/usr/LICENSE \
$PKG/usr/RELEASE_NOTES $PKG/usr/doc/$NAMEPKG-$VERSION
cd ../cpp/doc
make
cp -r reference $PKG/usr/doc/$NAMEPKG-$VERSION/
cd ..
mkdir -p $PKG/usr/doc/$NAME
install -m 644 CHANGELOG-?.?.md CONTRIBUTING.md ICE_LICENSE LICENSE \
README.md $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save