summaryrefslogtreecommitdiff
path: root/development/dejagnu/dejagnu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/dejagnu/dejagnu.SlackBuild')
-rw-r--r--development/dejagnu/dejagnu.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/development/dejagnu/dejagnu.SlackBuild b/development/dejagnu/dejagnu.SlackBuild
index fcaf6e4b79..d6232b00d2 100644
--- a/development/dejagnu/dejagnu.SlackBuild
+++ b/development/dejagnu/dejagnu.SlackBuild
@@ -6,7 +6,7 @@
# This script is public domain
PRGNAM=dejagnu
-VERSION=${VERSION:-1.4.4}
+VERSION=${VERSION:-1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,29 +36,30 @@ find . \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
+--mandir=/usr/man \
+--infodir=/usr/info \
--disable-static \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Add documentation
+rm -f $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Add description
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Package
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}