summaryrefslogtreecommitdiff
path: root/development/dejagnu/dejagnu.SlackBuild
diff options
context:
space:
mode:
authorAndres Fuentes <rafu@riseup.net>2011-07-18 23:03:06 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-07-21 22:52:11 -0500
commit0ad81a946ebd0b8b48cd3cb32abce45c799949fc (patch)
tree873b5e8b89227d37886fce9148e5b8e2ff80f45f /development/dejagnu/dejagnu.SlackBuild
parentcf44db154b16a9b30bc6a1db36e65a98ec94414d (diff)
downloadslackbuilds-0ad81a946ebd0b8b48cd3cb32abce45c799949fc.tar.gz
development/dejagnu: Updated for version 1.5.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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}