diff options
Diffstat (limited to 'libraries/php-redis/php-redis.SlackBuild')
-rw-r--r-- | libraries/php-redis/php-redis.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/php-redis/php-redis.SlackBuild b/libraries/php-redis/php-redis.SlackBuild index 311b910869127..261415886fb35 100644 --- a/libraries/php-redis/php-redis.SlackBuild +++ b/libraries/php-redis/php-redis.SlackBuild @@ -25,7 +25,7 @@ SRCNAM=redis PRGNAM=php-redis VERSION=${VERSION:-2.2.7} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -94,6 +94,9 @@ mkdir -p $EXTENSION_DIR $PKG/etc/php.d make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR +mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml +install -m 644 $TMP/package.xml $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml/redis.xml + install -m 644 $CWD/redis.ini $PKG/etc/php.d/redis.ini.new find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -105,7 +108,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh +sed "s|LIBDIRSUFFIX|$LIBDIRSUFFIX|" $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |