summaryrefslogtreecommitdiffstats
path: root/development/xdebug/xdebug.SlackBuild
diff options
context:
space:
mode:
author Heinz Wiesinger2013-11-11 23:04:48 +0100
committer Robby Workman2013-11-12 08:24:50 +0100
commit03b11ddc356c08022b833b7b86760c08d9c939b2 (patch)
treee781bd2699d9721e2be89cee56e71a579e56107d /development/xdebug/xdebug.SlackBuild
parentf0ff66705506ea910c88435d89092fc5becb47a0 (diff)
downloadslackbuilds-03b11ddc356c08022b833b7b86760c08d9c939b2.tar.gz
development/xdebug: Updated for version 2.2.3.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'development/xdebug/xdebug.SlackBuild')
-rw-r--r--development/xdebug/xdebug.SlackBuild9
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}