aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-09-11 13:15:11 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-16 00:45:35 +0700
commitb850694736b59c4429d6ae24edb6a9f8cfce4848 (patch)
treecc31c8bf1f1289e5f6c5b5fdcd6139d3c211ba40
parent0ba89653ce1f58ae009eeb5e4d3fb5fe72babc21 (diff)
development/php-xdebug: Renamed from xdebug
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/php-xdebug/README (renamed from development/xdebug/README)0
-rw-r--r--development/php-xdebug/doinst.sh (renamed from development/xdebug/doinst.sh)0
-rw-r--r--development/php-xdebug/php-xdebug.SlackBuild (renamed from development/xdebug/xdebug.SlackBuild)44
-rw-r--r--development/php-xdebug/php-xdebug.info (renamed from development/xdebug/xdebug.info)2
-rw-r--r--development/php-xdebug/slack-desc19
-rw-r--r--development/php-xdebug/xdebug.ini2
-rw-r--r--development/xdebug/slack-desc19
-rw-r--r--development/xdebug/xdebug.ini2
8 files changed, 45 insertions, 43 deletions
diff --git a/development/xdebug/README b/development/php-xdebug/README
index 8f44e093f7821..8f44e093f7821 100644
--- a/development/xdebug/README
+++ b/development/php-xdebug/README
diff --git a/development/xdebug/doinst.sh b/development/php-xdebug/doinst.sh
index d41438b853833..d41438b853833 100644
--- a/development/xdebug/doinst.sh
+++ b/development/php-xdebug/doinst.sh
diff --git a/development/xdebug/xdebug.SlackBuild b/development/php-xdebug/php-xdebug.SlackBuild
index aeaae735caaae..1c44fd62718b8 100644
--- a/development/xdebug/xdebug.SlackBuild
+++ b/development/php-xdebug/php-xdebug.SlackBuild
@@ -3,28 +3,30 @@
# Slackware build script for xdebug
# Copyright (c) 2010, Antonio Hernández Blas <hba.nihilismus@gmail.com>
-# Copyright 2011-2018 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2011-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# 1.- Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=xdebug
+SRCNAM=xdebug
+PRGNAM=php-$SRCNAM
VERSION=${VERSION:-3.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,8 +52,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,10 +71,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
rm -f package.xml
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tgz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/development/xdebug/xdebug.info b/development/php-xdebug/php-xdebug.info
index 63f17437fe019..28c477647bb22 100644
--- a/development/xdebug/xdebug.info
+++ b/development/php-xdebug/php-xdebug.info
@@ -1,4 +1,4 @@
-PRGNAM="xdebug"
+PRGNAM="php-xdebug"
VERSION="3.0.4"
HOMEPAGE="http://xdebug.org"
DOWNLOAD="https://xdebug.org/files/xdebug-3.0.4.tgz"
diff --git a/development/php-xdebug/slack-desc b/development/php-xdebug/slack-desc
new file mode 100644
index 0000000000000..a31cb5b8459f7
--- /dev/null
+++ b/development/php-xdebug/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+php-xdebug: php-xdebug (A PHP extension for debugging PHP scripts)
+php-xdebug:
+php-xdebug: The Xdebug extension helps you debugging your script by providing a
+php-xdebug: lot of valuable debug information. The debug information that Xdebug
+php-xdebug: can provide includes the following: stack traces and function traces
+php-xdebug: in error messages, memory allocation and protection for infinite
+php-xdebug: recursions. Xdebug also provides profiling information for PHP,
+php-xdebug: scripts, code coverage analysis and capabilities to debug PHP scripts
+php-xdebug: interactively with a debug client.
+php-xdebug:
+php-xdebug: Homepage: https://xdebug.org/
diff --git a/development/php-xdebug/xdebug.ini b/development/php-xdebug/xdebug.ini
new file mode 100644
index 0000000000000..ab5797b912cd6
--- /dev/null
+++ b/development/php-xdebug/xdebug.ini
@@ -0,0 +1,2 @@
+; Enable xdebug extension module
+;zend_extension = "/usr/LIBDIR/php/extensions/xdebug.so"
diff --git a/development/xdebug/slack-desc b/development/xdebug/slack-desc
deleted file mode 100644
index 9c76d1228eaa3..0000000000000
--- a/development/xdebug/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-xdebug: xdebug (A PHP extension for debuggin PHP scripts)
-xdebug:
-xdebug: The Xdebug extension helps you debugging your script by providing a
-xdebug: lot of valuable debug information. The debug information that Xdebug
-xdebug: can provide includes the following: stack traces and function traces
-xdebug: in error messages, memory allocation and protection for infinite
-xdebug: recursions. Xdebug also provides profiling information for PHP,
-xdebug: scripts, code coverage analysis and capabilities to debug PHP scripts
-xdebug: interactively with a debug client.
-xdebug:
-xdebug: Homepage: http://xdebug.org
diff --git a/development/xdebug/xdebug.ini b/development/xdebug/xdebug.ini
deleted file mode 100644
index 0b6e3310f0556..0000000000000
--- a/development/xdebug/xdebug.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-; Enable xdebug extension module
-;zend_extension="/usr/LIBDIR/php/extensions/xdebug.so"