diff options
-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 |