mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/php-mssql: Updated for version 5.6.18.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
bf88e104d3
commit
0edb002be1
4 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
This extension enables PHP to connect to and use MSSQL databases.
|
||||
|
||||
To enable the mssql extension for php, go to /etc/php/mssql.ini
|
||||
To enable the mssql extension for php, go to /etc/php.d/mssql.ini
|
||||
and uncomment the line:
|
||||
; extension=mssql.so
|
||||
|
|
|
@ -11,4 +11,4 @@ config() {
|
|||
# Otherwise, we leave the .new copy for the admin to consider...
|
||||
}
|
||||
|
||||
config etc/php/mssql.ini.new
|
||||
config etc/php.d/mssql.ini.new
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
SRCNAM=php
|
||||
PRGNAM=php-mssql
|
||||
VERSION=${VERSION:-5.4.45}
|
||||
VERSION=${VERSION:-5.6.18}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -61,7 +61,7 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $SRCNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
|
||||
cd $SRCNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
@ -93,11 +93,11 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
make
|
||||
|
||||
EXTENSION_DIR="$PKG/$($PHP_CONFIG --extension-dir)"
|
||||
mkdir -p $EXTENSION_DIR $PKG/etc/php
|
||||
mkdir -p $EXTENSION_DIR $PKG/etc/php.d
|
||||
|
||||
make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
|
||||
|
||||
install -m 644 $CWD/mssql.ini $PKG/etc/php/mssql.ini.new
|
||||
install -m 644 $CWD/mssql.ini $PKG/etc/php.d/mssql.ini.new
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="php-mssql"
|
||||
VERSION="5.4.45"
|
||||
VERSION="5.6.18"
|
||||
HOMEPAGE="http://www.php.net/manual/en/book.mssql.php"
|
||||
DOWNLOAD="https://secure.php.net/distributions/php-5.4.45.tar.bz2"
|
||||
MD5SUM="185f67f1ca652b18bc0cca9d7edbde7c"
|
||||
DOWNLOAD="https://secure.php.net/distributions/php-5.6.18.tar.xz"
|
||||
MD5SUM="177ba962557795866ae331ad4ad99bba"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="freetds"
|
||||
|
|
Loading…
Reference in a new issue