aboutsummaryrefslogtreecommitdiff
path: root/development/bashdb
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-13 00:24:16 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:24:16 +0200
commit2b64d1416dc3df026200403ea8f0e3d81a9998e0 (patch)
treee0d55c44a4915aa9a634f66e30af50aad5468b2b /development/bashdb
parentc8255f626fdb5dc8288be28ac37ece995b111f7d (diff)
development/bashdb: Updated for version 4.0-0.3
Diffstat (limited to 'development/bashdb')
-rw-r--r--development/bashdb/bashdb.SlackBuild37
-rw-r--r--development/bashdb/bashdb.info8
2 files changed, 33 insertions, 12 deletions
diff --git a/development/bashdb/bashdb.SlackBuild b/development/bashdb/bashdb.SlackBuild
index 58ee1d3142755..4cab08c5e4c25 100644
--- a/development/bashdb/bashdb.SlackBuild
+++ b/development/bashdb/bashdb.SlackBuild
@@ -1,14 +1,33 @@
-#!/bin/sh -eu
-
+#!/bin/sh
+#
# Slackware build script for bashdb
-# Written by Erik Hanson erik@slackbuilds.org
+#
+# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# This will build without readarray support. Read the INSTALL file in the
# source directory for instructions if you wish to enable readarray support.
# readarray speeds up initial loading of large scripts.
PRGNAM=bashdb
-VERSION=4.0_0.2
+VERSION=4.0-0.3
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -18,14 +37,14 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SRC_VERSION=$(echo $VERSION | tr '_' '-')
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRC_VERSION
-tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.bz2
-cd $PRGNAM-$SRC_VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -57,4 +76,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION/-/_}-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/bashdb/bashdb.info b/development/bashdb/bashdb.info
index 4b4346d6d31c4..67de9fadf193d 100644
--- a/development/bashdb/bashdb.info
+++ b/development/bashdb/bashdb.info
@@ -1,8 +1,10 @@
PRGNAM="bashdb"
-VERSION="4.0_0.2"
+VERSION="4.0-0.3"
HOMEPAGE="http://bashdb.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/bashdb/bashdb-4.0-0.2.tar.bz2"
-MD5SUM="8512c748e576a8f52489cbd034edecc0"
+DOWNLOAD="http://downloads.sourceforge.net/bashdb/bashdb-4.0-0.3.tar.bz2"
+DOWNLOAD_x86_64=""
+MD5SUM="720b7d4cd55c2a2010c6a2de59565f42"
+MD5SUM_x86_64=""
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
APPROVED="dsomero"