diff options
Diffstat (limited to 'development/xdebug/xdebug.SlackBuild')
-rw-r--r-- | development/xdebug/xdebug.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
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 <hba.nihilismus@gmail.com> -# 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} |