1
0
forked from ports/contrib

php4: Initial commit.

This commit is contained in:
Jose V Beneyto 2007-05-17 00:32:30 +02:00
parent 27d142bd38
commit 348944777b
3 changed files with 41 additions and 0 deletions

5
php4/.footprint Normal file
View File

@ -0,0 +1,5 @@
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/php.ini
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/php

1
php4/.md5sum Normal file
View File

@ -0,0 +1 @@
3f21b44d37a57ca3876d3aea713c700d php-4.4.7.tar.bz2

35
php4/Pkgfile Normal file
View File

@ -0,0 +1,35 @@
# Description: PHP Version 4.
# URL: http://www.php.net
# Maintainer: Jose V Beneyto, joberui at ei dot upv dot es
# Packager: Jose V Beneyto, joberui at ei dot upv dot es
# Depends on: bzip2,libpcre,libpng,libxml2,openssl
name=php4
version=4.4.7
release=1
source=(http://es.php.net/distributions/php-4.4.7.tar.bz2)
build() {
cd php-$version
./configure --prefix=/usr \
--with-bz2 \
--with-pic \
--with-openssl \
--with-png \
--with-iconv \
--with-pcre-regex=/usr \
--with-config-file-path=/etc \
--with-zlib-dir=/usr/lib \
--enable-shared=yes \
--enable-sockets \
--enable-shmop \
--enable-sysvsem \
--enable-sysvshm \
--enable-regex=pcre \
--enable-sigchild \
--disable-static \
--disable-pdo
make
install -D -m 0755 sapi/cgi/php $PKG/usr/bin/php
install -D -m 0644 php.ini-dist $PKG/etc/php.ini
}