From 4bbd289c7c30a1df0d640f16658dca7c0cc69f59 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sat, 6 Feb 2016 23:30:42 +0100 Subject: libraries/php-redis: Add missing pecl registration. Signed-off-by: Heinz Wiesinger --- libraries/php-redis/php-redis.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libraries/php-redis/php-redis.SlackBuild') diff --git a/libraries/php-redis/php-redis.SlackBuild b/libraries/php-redis/php-redis.SlackBuild index 311b910869..261415886f 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} -- cgit v1.2.3