diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-09-10 20:59:35 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-09-10 20:59:35 +0200 |
commit | a2ab41a738ff77dbc63a02425d526ae3290b8966 (patch) | |
tree | 22c9a8ec6a1c12f05cae366b42b72eb146005dcf /extra/php/Pkgfile | |
parent | 17217c57b7aa5a38bc9fbc7db4d062be7634f636 (diff) | |
download | nutyx-pakxe-a2ab41a738ff77dbc63a02425d526ae3290b8966.tar.gz nutyx-pakxe-a2ab41a738ff77dbc63a02425d526ae3290b8966.tar.bz2 nutyx-pakxe-a2ab41a738ff77dbc63a02425d526ae3290b8966.tar.xz nutyx-pakxe-a2ab41a738ff77dbc63a02425d526ae3290b8966.zip |
Ajout de php#5.2.10-1
Diffstat (limited to 'extra/php/Pkgfile')
-rw-r--r-- | extra/php/Pkgfile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/php/Pkgfile b/extra/php/Pkgfile new file mode 100644 index 000000000..2a2955b91 --- /dev/null +++ b/extra/php/Pkgfile @@ -0,0 +1,40 @@ +# Description: module PHP5 module pour le serveur apache 2.0.x HTTP +# URL: http://www.php.net +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot net +# Depends on: mysql, apache, libxml2 + +name=php +version=5.2.10 +release=1 +source=(http://www.php.net/distributions/php-$version.tar.bz2) + +build () { + cd php-$version + sed -i "s/-i -a/-i/" configure + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-apxs2=/usr/sbin/apxs \ + --enable-force-cgi-redirect \ + --enable-discard-path \ + --with-config-file-path=/etc \ + --with-zlib \ + --enable-bcmath \ + --with-bz2 \ + --enable-calendar \ + --enable-exif \ + --enable-ftp \ + --with-gettext \ + --enable-mbstring \ + --with-ncurses \ + --with-readline \ + --with-mysql=/usr \ + --with-mysql-sock=/var/run/mysql \ + --with-gd + + make + make INSTALL_ROOT=$PKG install + rm -r $PKG/etc/apache + sed -i "/^extension_dir/s|\./|/usr/lib/php/extensions|" php.ini-dist + install -D -m 644 php.ini-dist $PKG/etc/php.ini +} |