]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
php update
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Tue, 8 Aug 2006 16:47:13 +0000 (16:47 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Tue, 8 Aug 2006 16:47:13 +0000 (16:47 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@20 370017ae-e619-0410-ac65-c121f96126d4

patches/php/php-with-_lib-4.4.3.diff.gz [new file with mode: 0644]
patches/php/php.SlackBuild

diff --git a/patches/php/php-with-_lib-4.4.3.diff.gz b/patches/php/php-with-_lib-4.4.3.diff.gz
new file mode 100644 (file)
index 0000000..b4b68bb
Binary files /dev/null and b/patches/php/php-with-_lib-4.4.3.diff.gz differ
index 0eb953d97924088f6b2d92732eb290f2e435ecf8..2e07d8c397d76009251812af96028675df25b447 100755 (executable)
@@ -22,10 +22,9 @@ VERSION=${VERSION:=4.4.3}
 PINE=${PINE:=4.64}
 ARCH=${ARCH:=x86_64}
 BUILD=${BUILD:=1rha}
-
 TMP=${TMP:=/tmp}
-PKG=$TMP/package-php
 SRC_DIR=${SRC:=$CWD}
+REPOS=${REPOS:=$TMP}
 
 RTOOL="wget"
 
@@ -47,6 +46,9 @@ TEMPLATE="HTML_Template_IT-1.1.3.tgz"
 
 PEAR="http://pear.php.net/get"
 
+SRC_DIR="$SRC_DIR/$PACKAGE"
+mkdir -p $SRC_DIR
+
 if [ "$RTOOL" == "wget" ]; then
 
   if [ ! -f "$SRC_DIR/$SRC" ]; then 
@@ -76,9 +78,11 @@ if [ "$RTOOL" == "wget" ]; then
 
 fi
 
-if [ ! -d $TMP ]; then
-  mkdir -p $TMP
-fi
+TMP="$TMP/$PACKAGE"
+PKG="$TMP/package-php"
+rm -rf $TMP
+mkdir -p $TMP
+cd $TMP
 
 if [ "$ARCH" = "i386" ]; then
   SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
@@ -306,5 +310,5 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
 #fi
 
 cd $PKG
-makepkg -l y -c n $TMP/php-$VERSION-$ARCH-$BUILD.tgz
+makepkg -l y -c n $REPOS/php-$VERSION-$ARCH-$BUILD.tgz