aboutsummaryrefslogtreecommitdiff
path: root/dev/python
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-01-17 01:34:16 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-01-17 01:34:16 +0000
commiteb1d2a3f47feeb9fd9729eaf61dba6170daadfdb (patch)
tree5087623a19bcac56d3afb4355d109aea2a588114 /dev/python
parent8526dea665fbbf2c6fd64b608077cbde234c5901 (diff)
downloadslackbuilds-eb1d2a3f47feeb9fd9729eaf61dba6170daadfdb.tar.gz
slackbuilds-eb1d2a3f47feeb9fd9729eaf61dba6170daadfdb.tar.bz2
mod_python: small changes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@974 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dev/python')
-rwxr-xr-xdev/python/mod_python/mod_python.build12
1 files changed, 3 insertions, 9 deletions
diff --git a/dev/python/mod_python/mod_python.build b/dev/python/mod_python/mod_python.build
index 0f290e44..52cead7c 100755
--- a/dev/python/mod_python/mod_python.build
+++ b/dev/python/mod_python/mod_python.build
@@ -21,7 +21,7 @@ fi
PACKAGE="mod_python"
VERSION=${VERSION:=2.7.11}
ARCH="${ARCH:=x86_64}"
-BUILD=${BUILD:=2rha}
+BUILD=${BUILD:=3rha}
SRC_DIR=${SRC:=$CWD}
TMP=${TMP:=/tmp}
@@ -50,12 +50,6 @@ if [ ! -d "$SRC_DIR" ]; then
mkdir -p $SRC_DIR
fi
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
fi
@@ -68,7 +62,7 @@ fi
cd $TMP
-tar xvf$tarflag $SRC_DIR/$SRC
+tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR
cd $PACKAGE-$VERSION
if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then
@@ -79,7 +73,7 @@ if [ -f "$CWD/$PACKAGE-$VERSION-$ARCH.diff" ]; then
patch -p1 < $CWD/$PACKAGE-$VERSION-$ARCH.diff || exit $ERROR_PATCH
fi
-./configure
+./configure || exit $ERROR_CONF
# coxa, favor corrigir!
if [ "$ARCH" == "x86_64" ]; then