aboutsummaryrefslogtreecommitdiff
path: root/development/bashdb
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 22:22:21 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 22:22:21 +0200
commitdd32db5be824aec1e73297baacb077b016b29177 (patch)
treee4c56636ce9aa605d94bd9eb4cd634776ae05ce5 /development/bashdb
parentfcd0c10e6e9c36de6f5fb4c0845b9a6e374f5e71 (diff)
development/bashdb: Updated for version 4.0-0.1
Diffstat (limited to 'development/bashdb')
-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 1566517e74521..c87c9900cff15 100644
--- a/development/bashdb/bashdb.SlackBuild
+++ b/development/bashdb/bashdb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -eu
# Slackware build script for bashdb
# Written by Erik Hanson erik@slackbuilds.org
@@ -8,10 +8,11 @@
# readarray speeds up initial loading of large scripts.
PRGNAM=bashdb
-VERSION=3.1-0.09
+VERSION=4.0-0.1
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -21,26 +22,27 @@ PKG_VER=$(echo $VERSION | tr '-' '_')
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-CFLAGS="$SLKCFLAGS" \
+# Hack configure, upstream has "tested on bash 3.1 and 4.0 alpha"
+sed -i "s/'4.0'|'3.2')/'4.0'|'3.2'|'3.1')/" configure
+
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --infodir=/usr/info \
- || exit 1
+ --infodir=/usr/info
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+make
+make install-strip DESTDIR=$PKG
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+find $PKG/usr/man/man1 -type f -exec gzip -9 {} \;
gzip -9 $PKG/usr/info/*.info
rm -rf $PKG/usr/info/dir
diff --git a/development/bashdb/bashdb.info b/development/bashdb/bashdb.info
index 1fa2b501595f7..22be77c14211a 100644
--- a/development/bashdb/bashdb.info
+++ b/development/bashdb/bashdb.info
@@ -1,8 +1,8 @@
PRGNAM="bashdb"
-VERSION="3.1_0.09"
+VERSION="4.0-0.1"
HOMEPAGE="http://bashdb.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/bashdb/bashdb-3.1-0.09.tar.gz"
-MD5SUM="b6606a99d3d0a733b5b214ee1ecb168f"
+DOWNLOAD="http://downloads.sourceforge.net/bashdb/bashdb-4.0-0.1.tar.bz2"
+MD5SUM="e7ab6464957b679d55ca5b306aa4f0ef"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="rworkman"
+APPROVED="Michiel"