mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/bashdb: Updated for version 4.0-0.3
This commit is contained in:
parent
c8255f626f
commit
2b64d1416d
2 changed files with 33 additions and 12 deletions
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue