aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/php-oci8/php-oci8.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/php-oci8/php-oci8.SlackBuild b/libraries/php-oci8/php-oci8.SlackBuild
index 644bab872828..976db654f33e 100644
--- a/libraries/php-oci8/php-oci8.SlackBuild
+++ b/libraries/php-oci8/php-oci8.SlackBuild
@@ -22,10 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PKGNAM=oci8
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=php-oci8
+SRCNAM=oci8
VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PKGNAM-$VERSION package.xml
-tar xvf $CWD/$PKGNAM-$VERSION.tgz
-cd $PKGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION package.xml
+tar xvf $CWD/$SRCNAM-$VERSION.tgz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -112,7 +112,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# slackware 14.1 current use /etc/php.d
mkdir -p $PKG/etc/php.d
-cat << EOF > $PKG/etc/php.d/${PKGNAM}.ini
+cat << EOF > $PKG/etc/php.d/${SRCNAM}.ini
; Enable oci8 extension module
; extension=oci8.so
EOF