diff options
Diffstat (limited to 'development/bashdb')
-rw-r--r-- | development/bashdb/README | 10 | ||||
-rw-r--r-- | development/bashdb/bashdb.SlackBuild | 24 | ||||
-rw-r--r-- | development/bashdb/bashdb.info | 8 |
3 files changed, 27 insertions, 15 deletions
diff --git a/development/bashdb/README b/development/bashdb/README index 5cba21da87..b3f1cf5dba 100644 --- a/development/bashdb/README +++ b/development/bashdb/README @@ -1,5 +1,7 @@ -The BASH Debugger Project contains the most comprehensive source-code debugger -for bash that has been written. It has a similar command interface as gdb. +The BASH Debugger Project contains the most comprehensive source-code +debugger for bash that has been written. It has a similar command +interface as gdb. -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. +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. diff --git a/development/bashdb/bashdb.SlackBuild b/development/bashdb/bashdb.SlackBuild index 2c053d3a53..57dcab5322 100644 --- a/development/bashdb/bashdb.SlackBuild +++ b/development/bashdb/bashdb.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for bashdb # @@ -26,15 +26,25 @@ # source directory for instructions if you wish to enable readarray support. # readarray speeds up initial loading of large scripts. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bashdb -VERSION=${VERSION:-4.4_0.92} +VERSION=${VERSION:-5.1_20210713} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCVER=$(printf $VERSION | tr _ -) -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -45,7 +55,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$SRCVER -tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2 +tar xvf $CWD/$PRGNAM-$SRCVER.tar.?z* cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ @@ -54,7 +64,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -./configure \ +./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -71,7 +81,7 @@ 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 \ +cp -a AUTHORS COPYING ChangeLog* INSTALL NEWS.md README.md THANKS* TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -79,4 +89,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.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/bashdb/bashdb.info b/development/bashdb/bashdb.info index 8d06d80116..7ee0cf1cda 100644 --- a/development/bashdb/bashdb.info +++ b/development/bashdb/bashdb.info @@ -1,8 +1,8 @@ PRGNAM="bashdb" -VERSION="4.4_0.92" -HOMEPAGE="http://bashdb.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/bashdb/bashdb-4.4-0.92.tar.bz2" -MD5SUM="b5e7ac9daf6f9d21f9928f45bf46ded9" +VERSION="5.1_20210713" +HOMEPAGE="https://bashdb.sourceforge.net/" +DOWNLOAD="https://ponce.cc/slackware/sources/repo/bashdb-5.1-20210713.tar.xz" +MD5SUM="441b108edc1dd79398595a089d037f55" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |