aboutsummaryrefslogtreecommitdiff
path: root/development/php-pinba
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2016-02-06 22:43:36 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-07 15:06:56 +0700
commitfa74c291e42e385242711217bb03bda71b5671c0 (patch)
treee743bcaa97f971997b9821c51d7580ca70f6454b /development/php-pinba
parent47a5b49203d5df374f5e8dbe6a22ae0fa8cdd7b2 (diff)
development/php-pinba: Fix php ini file location.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'development/php-pinba')
-rw-r--r--development/php-pinba/doinst.sh2
-rw-r--r--development/php-pinba/php-pinba.SlackBuild8
2 files changed, 5 insertions, 5 deletions
diff --git a/development/php-pinba/doinst.sh b/development/php-pinba/doinst.sh
index c48bdfd29e708..9760b6c15e24b 100644
--- a/development/php-pinba/doinst.sh
+++ b/development/php-pinba/doinst.sh
@@ -11,5 +11,5 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/php/pinba.ini.new
+config etc/php.d/pinba.ini.new
diff --git a/development/php-pinba/php-pinba.SlackBuild b/development/php-pinba/php-pinba.SlackBuild
index 1203b68a6b6a3..4ab3504621d25 100644
--- a/development/php-pinba/php-pinba.SlackBuild
+++ b/development/php-pinba/php-pinba.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for php-pinba
-# Copyright 2012 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2012-2016 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=php-pinba
SRCNAM=pinba_extension
VERSION=1.0.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -94,8 +94,8 @@ mkdir -p $EXTENSION_DIR
make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
-mkdir -p $PKG/etc/php
-install -m 644 $CWD/pinba.ini $PKG/etc/php/pinba.ini.new
+mkdir -p $PKG/etc/php.d
+install -m 644 $CWD/pinba.ini $PKG/etc/php.d/pinba.ini.new
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true