summaryrefslogtreecommitdiff
path: root/development/bashdb/bashdb.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 19:44:12 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:12 +0200
commit624d1b494ef31afcf81fe5a7ca05355e58dab4e0 (patch)
tree2f93f32dc27bebe89727b83c6cc84ef458e2a28f /development/bashdb/bashdb.SlackBuild
parent0746f5ee03bcb033e731c9e1956e51ac368f7b4f (diff)
downloadslackbuilds-624d1b494ef31afcf81fe5a7ca05355e58dab4e0.tar.gz
development/bashdb: Updated for version 3.1_0.09
Diffstat (limited to 'development/bashdb/bashdb.SlackBuild')
-rw-r--r--development/bashdb/bashdb.SlackBuild18
1 files changed, 11 insertions, 7 deletions
diff --git a/development/bashdb/bashdb.SlackBuild b/development/bashdb/bashdb.SlackBuild
index bd50a19856..1566517e74 100644
--- a/development/bashdb/bashdb.SlackBuild
+++ b/development/bashdb/bashdb.SlackBuild
@@ -8,16 +8,17 @@
# readarray speeds up initial loading of large scripts.
PRGNAM=bashdb
-VERSION=3.1-0.08
-PKGVER=3.1_0.08
+VERSION=3.1-0.09
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+PKG_VER=$(echo $VERSION | tr '-' '_')
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -33,6 +34,7 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --infodir=/usr/info \
|| exit 1
make || exit 1
@@ -42,11 +44,13 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
gzip -9 $PKG/usr/info/*.info
rm -rf $PKG/usr/info/dir
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog ChangeLog.0 INSTALL NEWS README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mkdir -p $PKG/usr/doc/$PRGNAM-$PKG_VER
+cp -a AUTHORS COPYING ChangeLog ChangeLog.0 INSTALL NEWS README THANKS TODO \
+ $PKG/usr/doc/$PRGNAM-$PKG_VER
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKG_VER/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKG_VER-$ARCH-$BUILD$TAG.tgz