aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/bashdb/bashdb.SlackBuild22
-rw-r--r--development/bashdb/bashdb.info8
2 files changed, 16 insertions, 14 deletions
diff --git a/development/bashdb/bashdb.SlackBuild b/development/bashdb/bashdb.SlackBuild
index c87c9900cff15..58ee1d3142755 100644
--- a/development/bashdb/bashdb.SlackBuild
+++ b/development/bashdb/bashdb.SlackBuild
@@ -8,7 +8,7 @@
# readarray speeds up initial loading of large scripts.
PRGNAM=bashdb
-VERSION=4.0-0.1
+VERSION=4.0_0.2
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -18,14 +18,14 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-PKG_VER=$(echo $VERSION | tr '-' '_')
+SRC_VERSION=$(echo $VERSION | tr '_' '-')
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRC_VERSION
+tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.bz2
+cd $PRGNAM-$SRC_VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -37,7 +37,9 @@ sed -i "s/'4.0'|'3.2')/'4.0'|'3.2'|'3.1')/" configure
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --infodir=/usr/info
+ --infodir=/usr/info \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static
make
make install-strip DESTDIR=$PKG
@@ -46,13 +48,13 @@ find $PKG/usr/man/man1 -type f -exec gzip -9 {} \;
gzip -9 $PKG/usr/info/*.info
rm -rf $PKG/usr/info/dir
-mkdir -p $PKG/usr/doc/$PRGNAM-$PKG_VER
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
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
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKG_VER-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/development/bashdb/bashdb.info b/development/bashdb/bashdb.info
index 22be77c14211a..4b4346d6d31c4 100644
--- a/development/bashdb/bashdb.info
+++ b/development/bashdb/bashdb.info
@@ -1,8 +1,8 @@
PRGNAM="bashdb"
-VERSION="4.0-0.1"
+VERSION="4.0_0.2"
HOMEPAGE="http://bashdb.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/bashdb/bashdb-4.0-0.1.tar.bz2"
-MD5SUM="e7ab6464957b679d55ca5b306aa4f0ef"
+DOWNLOAD="http://downloads.sourceforge.net/bashdb/bashdb-4.0-0.2.tar.bz2"
+MD5SUM="8512c748e576a8f52489cbd034edecc0"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="Michiel"
+APPROVED="dsomero"