From 03b11ddc356c08022b833b7b86760c08d9c939b2 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Mon, 11 Nov 2013 23:04:48 +0100 Subject: development/xdebug: Updated for version 2.2.3. Signed-off-by: Heinz Wiesinger --- development/xdebug/xdebug.SlackBuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'development/xdebug/xdebug.SlackBuild') diff --git a/development/xdebug/xdebug.SlackBuild b/development/xdebug/xdebug.SlackBuild index 278d8a569d..4a8f2e7c3f 100644 --- a/development/xdebug/xdebug.SlackBuild +++ b/development/xdebug/xdebug.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for xdebug # Copyright (c) 2010, Antonio Hernández Blas -# Copyright 2011-2012 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2011-2013 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -23,7 +23,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xdebug -VERSION=${VERSION:-2.2.1} +VERSION=${VERSION:-2.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -118,6 +118,9 @@ mkdir -p $PKG/etc/php install -m 644 $CWD/xdebug.ini $PKG/etc/php/xdebug.ini.new sed -i "s/LIBDIR/lib$LIBDIRSUFFIX/g" $PKG/etc/php/xdebug.ini.new +mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml +install -m 644 $TMP/package.xml $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml/xdebug.xml + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -130,7 +133,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