summaryrefslogtreecommitdiff
path: root/development/xdebug
diff options
context:
space:
mode:
Diffstat (limited to 'development/xdebug')
-rw-r--r--development/xdebug/doinst.sh3
-rw-r--r--development/xdebug/xdebug.SlackBuild9
-rw-r--r--development/xdebug/xdebug.info6
3 files changed, 12 insertions, 6 deletions
diff --git a/development/xdebug/doinst.sh b/development/xdebug/doinst.sh
index ad09d3466f..44c0325a1d 100644
--- a/development/xdebug/doinst.sh
+++ b/development/xdebug/doinst.sh
@@ -13,3 +13,6 @@ config() {
config etc/php/xdebug.ini.new
+/usr/bin/pecl install --nodeps --soft --force --register-only --nobuild \
+ usr/libLIBDIRSUFFIX/php/.pkgxml/xdebug.xml > /dev/null
+
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}
diff --git a/development/xdebug/xdebug.info b/development/xdebug/xdebug.info
index 0bfba3ee2b..a30d488225 100644
--- a/development/xdebug/xdebug.info
+++ b/development/xdebug/xdebug.info
@@ -1,8 +1,8 @@
PRGNAM="xdebug"
-VERSION="2.2.1"
+VERSION="2.2.3"
HOMEPAGE="http://xdebug.org"
-DOWNLOAD="http://xdebug.org/files/xdebug-2.2.1.tgz"
-MD5SUM="5e5c467e920240c20f165687d7ac3709"
+DOWNLOAD="http://xdebug.org/files/xdebug-2.2.3.tgz"
+MD5SUM="e49cec9861b45dc0b36eae33bf8a14fa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libedit"