forked from ports/contrib
php-gd: initial import
This commit is contained in:
parent
d589ee9cc4
commit
0ccb11825f
9
php-gd/.footprint
Normal file
9
php-gd/.footprint
Normal 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
1
php-gd/.md5sum
Normal file
@ -0,0 +1 @@
|
||||
7380ffecebd95c6edb317ef861229ebd php-5.2.6.tar.bz2
|
24
php-gd/Pkgfile
Normal file
24
php-gd/Pkgfile
Normal 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user