development/icecream: Updated for version 1.0.1.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2013-11-16 14:42:57 +01:00 committed by Robby Workman
parent e6e806ac6f
commit c9884d1eba
3 changed files with 12 additions and 26 deletions

View File

@ -24,8 +24,8 @@
PRGNAM=icecream
SRCNAM=icecc
VERSION=0.9.7
BUILD=${BUILD:-2}
VERSION=1.0.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -74,12 +74,13 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.a
mkdir -p $PKG/etc/profile.d/
cp $CWD/profile.d/* $PKG/etc/profile.d/
chmod 0755 $PKG/etc/profile.d/*
@ -97,21 +98,6 @@ for i in g++ gcc cc c++ $ARCH-slackware-linux-c++ \
rm -f $PKG/usr/bin/$i
done
mkdir -p $PKG/usr/man/{man1,man7}
cd doc
for i in icecc iceccd scheduler; do
meinproc4 \
--stylesheet /usr/share/apps/ksgmltools2/customization/kde-include-man.xsl \
man-$i.1.docbook
mv $i.1 $PKG/usr/man/man1/
done
meinproc4 \
--stylesheet /usr/share/apps/ksgmltools2/customization/kde-include-man.xsl \
man-icecream.7.docbook
mv Icecream.7 $PKG/usr/man/man7/
cd -
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,8 +1,8 @@
PRGNAM="icecream"
VERSION="0.9.7"
VERSION="1.0.1"
HOMEPAGE="http://old-en.opensuse.org/Icecream"
DOWNLOAD="ftp://ftp.suse.com/pub/projects/icecream/icecc-0.9.7.tar.bz2"
MD5SUM="c06900c2f4011428d0d48826a04f74fb"
DOWNLOAD="ftp://ftp.suse.com/pub/projects/icecream/icecc-1.0.1.tar.bz2"
MD5SUM="638d8d3b102a964cadd5fd338fa73a95"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View File

@ -4,7 +4,7 @@
# Author: Heinz Wiesinger <pprkut@liwjatan.at>
# ---------------------------------------------------------------------------
PID=$(/sbin/pidof -o %PPID scheduler)
PID=$(/sbin/pidof -o %PPID icecc-scheduler)
# Get the configuration information from /etc/rc.d/rc.icecream.conf:
. /etc/rc.d/rc.icecream.conf
@ -15,16 +15,16 @@ scheduler_start() {
echo "Distributed compiler scheduler already running"
exit
fi
if [ -x /usr/sbin/scheduler ]; then
echo "Starting distributed compiler scheduler: /usr/sbin/scheduler "
/usr/sbin/scheduler -n $NETWORK -d
if [ -x /usr/sbin/icecc-scheduler ]; then
echo "Starting distributed compiler scheduler: /usr/sbin/icecc-scheduler "
/usr/sbin/icecc-scheduler -n $NETWORK -d
fi
}
# Stop scheduler:
scheduler_stop() {
echo "Stopping distributed compiler scheduler"
killall scheduler 1> /dev/null 2> /dev/null
killall icecc-scheduler 1> /dev/null 2> /dev/null
}
# Restart scheduler: