mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/php-xdebug: Renamed from xdebug
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0ba89653ce
commit
b850694736
8 changed files with 45 additions and 43 deletions
|
@ -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 . \
|
|
@ -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"
|
19
development/php-xdebug/slack-desc
Normal file
19
development/php-xdebug/slack-desc
Normal file
|
@ -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/
|
2
development/php-xdebug/xdebug.ini
Normal file
2
development/php-xdebug/xdebug.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
; Enable xdebug extension module
|
||||
;zend_extension = "/usr/LIBDIR/php/extensions/xdebug.so"
|
|
@ -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
|
|
@ -1,2 +0,0 @@
|
|||
; Enable xdebug extension module
|
||||
;zend_extension="/usr/LIBDIR/php/extensions/xdebug.so"
|
Loading…
Reference in a new issue