diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-08-08 16:47:13 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-08-08 16:47:13 +0000 |
commit | 41d86e13a311e8f613d0c9fa086278c1455b0aee (patch) | |
tree | 4a7636450a73384d33159f3ca93abdfbd03668b7 | |
parent | 508a133b9b1379225249438cd1d7d4ee8b71d97b (diff) | |
download | slackbuilds-41d86e13a311e8f613d0c9fa086278c1455b0aee.tar.gz slackbuilds-41d86e13a311e8f613d0c9fa086278c1455b0aee.tar.bz2 |
php update
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@20 370017ae-e619-0410-ac65-c121f96126d4
-rw-r--r-- | patches/php/php-with-_lib-4.4.3.diff.gz | bin | 0 -> 19573 bytes | |||
-rwxr-xr-x | patches/php/php.SlackBuild | 16 |
2 files changed, 10 insertions, 6 deletions
diff --git a/patches/php/php-with-_lib-4.4.3.diff.gz b/patches/php/php-with-_lib-4.4.3.diff.gz Binary files differnew file mode 100644 index 00000000..b4b68bb7 --- /dev/null +++ b/patches/php/php-with-_lib-4.4.3.diff.gz diff --git a/patches/php/php.SlackBuild b/patches/php/php.SlackBuild index 0eb953d9..2e07d8c3 100755 --- a/patches/php/php.SlackBuild +++ b/patches/php/php.SlackBuild @@ -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 |