php5.guncellendi

This commit is contained in:
milisarge 2017-07-07 15:11:30 +03:00
parent c8d9c1b014
commit 91580991c0
2 changed files with 4 additions and 12 deletions

View File

@ -1,2 +0,0 @@
ln -v -sfn /usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt /usr/share/doc/php-5.6.16
ln -v -sfn /usr/lib/php/doc/Structures_Graph/docs /usr/share/doc/php-5.6.16

View File

@ -4,12 +4,10 @@
# Depends on: apache libxml2 aspell aspell-tr libxslt enchant pcre pth freetype libexif libjpeg-turbo libpng libtiff xorg curl db mariadb openldap postgresql sqlite unixodbc openssl cyrus-sasl kerberos
name=php
version=5.6.16
release=3
source=(http://php.net/distributions/$name-$version.tar.xz
http://mirror.internode.on.net/pub/php/manual/php_manual_tr.tar.gz)
version=5.6.31
release=1
source=(http://php.net/distributions/$name-$version.tar.xz)
build () {
cd $name-$version
@ -40,11 +38,7 @@ build () {
install -v -m644 php.ini-production $PKG/etc/php.ini
mv -v $PKG/etc/php-fpm.conf{.default,}
install -v -m755 -d $PKG/usr/share/doc/php-$version
install -v -m644 CODING_STANDARDS EXTENSIONS INSTALL NEWS README* UPGRADING* php.gif \
$PKG/usr/share/doc/php-$version
sed -i 's@php/includes"@&\ninclude_path = ".:/usr/lib/php"@' \
$PKG/etc/php.ini
sed -i 's@php/includes"@&\ninclude_path = ".:/usr/lib/php"@' $PKG/etc/php.ini
}