summaryrefslogtreecommitdiff
path: root/development/icecream/icecream.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/icecream/icecream.SlackBuild')
-rw-r--r--development/icecream/icecream.SlackBuild23
1 files changed, 17 insertions, 6 deletions
diff --git a/development/icecream/icecream.SlackBuild b/development/icecream/icecream.SlackBuild
index 7b6faf2e39..0a745b9990 100644
--- a/development/icecream/icecream.SlackBuild
+++ b/development/icecream/icecream.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for icecream
-# Copyright 2009 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2009-2010 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,16 +24,14 @@
PRGNAM=icecream
SRCNAM=icecc
-VERSION=0.9.4
+VERSION=0.9.6
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -100,8 +98,21 @@ for i in g++ gcc cc c++ $ARCH-slackware-linux-c++ \
done
mkdir -p $PKG/usr/man/{man1,man7}
-cp $CWD/manpages/*.1.gz $PKG/usr/man/man1/
-cp $CWD/manpages/*.7.gz $PKG/usr/man/man7/
+cd doc
+ for i in icecc iceccd scheduler; do
+ meinproc4 \
+ --stylesheet /usr/share/apps/ksgmltools2/customization/kde-man.xsl \
+ man-$i.1.docbook
+ mv manpage.troff $PKG/usr/man/man1/$i.1
+ done
+
+ meinproc4 \
+ --stylesheet /usr/share/apps/ksgmltools2/customization/kde-man.xsl \
+ man-icecream.7.docbook
+ mv manpage.troff $PKG/usr/man/man7/icecream.7
+cd -
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION