diff options
author | B. Watson <urchlay@slackware.uk> | 2023-02-14 02:16:21 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-18 10:07:07 +0700 |
commit | d629b656170dc29f72c1afa7bcd86b6ba6d9f710 (patch) | |
tree | 7bee67fbec6e800bffd826702fb2b0b364792d22 | |
parent | d93c3a63dd066edc3104eea9dfc28b1efcee21a8 (diff) |
libraries/php-oci8: Align with template.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/php-oci8/php-oci8.SlackBuild | 10 |
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 |