php-gd: initial import

This commit is contained in:
Mikhail Kolesnik 2008-05-08 15:46:55 +03:00
parent d589ee9cc4
commit 0ccb11825f
3 changed files with 34 additions and 0 deletions

9
php-gd/.footprint Normal file
View File

@ -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/gd.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/gd.so

1
php-gd/.md5sum Normal file
View File

@ -0,0 +1 @@
7380ffecebd95c6edb317ef861229ebd php-5.2.6.tar.bz2

24
php-gd/Pkgfile Normal file
View File

@ -0,0 +1,24 @@
# Description: GD module for PHP
# URL: http://www.php.net
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
# Depends on: libgd
name=php-gd
version=5.2.6
release=1
source=(http://www.php.net/distributions/php-$version.tar.bz2)
build() {
cd php-$version
./configure --disable-all \
--with-gd=shared,/usr \
--with-png-dir=/usr \
--with-jpeg-dir=/usr \
--enable-gd-native-ttf
make build-modules
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
install -m 755 modules/gd.so $PKG/usr/lib/php/extensions
echo "extension=gd.so" > $PKG/etc/php/conf.d/gd.ini
}