commit
94a6608cf4
1 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'php'
|
||||
pkgname=php
|
||||
version=5.6.7
|
||||
revision=2
|
||||
version=5.6.8
|
||||
revision=1
|
||||
short_desc="An HTML-embedded scripting language"
|
||||
license="PHP"
|
||||
homepage="http://www.php.net"
|
||||
|
@ -15,7 +15,7 @@ makedepends="postgresql-libs-devel libldap-devel libvpx-devel sqlite-devel
|
|||
readline-devel libmysqlclient-devel $(vopt_if systemd systemd-devel)"
|
||||
conf_files="/etc/php/php.ini"
|
||||
distfiles="http://www.php.net/distributions/php-${version}.tar.gz"
|
||||
checksum=11398540a582c876f5e070207231afde975eb49bb2eeae20b052e8ca325c0f47
|
||||
checksum=c5b1c75c5671c239473eb611129f33ac432a55a1c341990b70009a2aa3b8dbc3
|
||||
|
||||
# Package build options
|
||||
build_options="systemd"
|
||||
|
@ -187,7 +187,7 @@ php-cgi_package() {
|
|||
short_desc+=' - CGI and FCGI SAPI'
|
||||
depends="php-${version}_${revision}"
|
||||
pkg_install() {
|
||||
vinstall ${wrksrc}/build-cgi/sapi/cgi/php-cgi 755 usr/bin
|
||||
vbin ${wrksrc}/build-cgi/sapi/cgi/php-cgi
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -207,8 +207,8 @@ php-fpm_package() {
|
|||
conf_files="/etc/php/php-fpm.conf"
|
||||
make_dirs="/etc/php/fpm.d 0755 root root"
|
||||
pkg_install() {
|
||||
vinstall ${wrksrc}/build-fpm/sapi/fpm/php-fpm 755 usr/bin
|
||||
vinstall ${wrksrc}/build-fpm/sapi/fpm/php-fpm.8 644 usr/share/man/man8
|
||||
vbin ${wrksrc}/build-fpm/sapi/fpm/php-fpm
|
||||
vman ${wrksrc}/build-fpm/sapi/fpm/php-fpm.8
|
||||
vinstall ${wrksrc}/build-fpm/sapi/fpm/php-fpm.conf 644 etc/php
|
||||
if [ "$build_option_systemd" ]; then
|
||||
vinstall ${FILESDIR}/php-fpm.tmpfiles 644 usr/lib/tmpfiles.d php-fpm.conf
|
||||
|
|
Loading…
Reference in a new issue