]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
mod_python: small changes
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Wed, 17 Jan 2007 01:34:16 +0000 (01:34 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Wed, 17 Jan 2007 01:34:16 +0000 (01:34 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@974 370017ae-e619-0410-ac65-c121f96126d4

dev/python/mod_python/mod_python.build

index 0f290e441bd12ac1cf3b0e71947149848791de22..52cead7c0c367fb01115c20b68fb12a5abcd1ad3 100755 (executable)
@@ -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