diff options
author | Juergen Daubert <jue@jue.li> | 2008-05-07 19:43:07 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2008-05-07 19:43:07 +0200 |
commit | a167fc93920ed314f936e7f480983473ae801a19 (patch) | |
tree | 39816ef07164c1a3001dcbf7d7420712b4b478ed /php-mysql | |
parent | 62dabacfc0e989a150cd6348a95996c0f92bd15d (diff) | |
download | opt-a167fc93920ed314f936e7f480983473ae801a19.tar.gz opt-a167fc93920ed314f936e7f480983473ae801a19.tar.xz |
php-mysql: new port
Diffstat (limited to 'php-mysql')
-rw-r--r-- | php-mysql/.footprint | 9 | ||||
-rw-r--r-- | php-mysql/.md5sum | 1 | ||||
-rw-r--r-- | php-mysql/Pkgfile | 20 |
3 files changed, 30 insertions, 0 deletions
diff --git a/php-mysql/.footprint b/php-mysql/.footprint new file mode 100644 index 000000000..22e1d79d9 --- /dev/null +++ b/php-mysql/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/php/ +drwxr-xr-x root/root etc/php/conf.d/ +-rw-r--r-- root/root etc/php/conf.d/mysql.ini +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/php/ +drwxr-xr-x root/root usr/lib/php/extensions/ +-rwxr-xr-x root/root usr/lib/php/extensions/mysql.so diff --git a/php-mysql/.md5sum b/php-mysql/.md5sum new file mode 100644 index 000000000..e5e6022cf --- /dev/null +++ b/php-mysql/.md5sum @@ -0,0 +1 @@ +7380ffecebd95c6edb317ef861229ebd php-5.2.6.tar.bz2 diff --git a/php-mysql/Pkgfile b/php-mysql/Pkgfile new file mode 100644 index 000000000..c23971487 --- /dev/null +++ b/php-mysql/Pkgfile @@ -0,0 +1,20 @@ +# Description: MySQL module for PHP +# URL: http://www.php.net +# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de +# Depends on: mysql zlib + +name=php-mysql +version=5.2.6 +release=1 +source=(http://www.php.net/distributions/php-$version.tar.bz2) + +build () { + cd php-$version + + ./configure --disable-all --with-mysql=shared,/usr + make build-modules + + install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions} + install -m 755 modules/mysql.so $PKG/usr/lib/php/extensions + echo "extension=mysql.so" > $PKG/etc/php/conf.d/mysql.ini +} |