aboutsummaryrefslogtreecommitdiff
path: root/development/php-pinba/php-pinba.SlackBuild
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/php-pinba.SlackBuild
parent47a5b49203d5df374f5e8dbe6a22ae0fa8cdd7b2 (diff)
development/php-pinba: Fix php ini file location.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'development/php-pinba/php-pinba.SlackBuild')
-rw-r--r--development/php-pinba/php-pinba.SlackBuild8
1 files changed, 4 insertions, 4 deletions
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