php-gd: initial commit version 5.5.27

This commit is contained in:
Alan Mizrahi 2015-08-07 11:58:40 +09:00
parent b5cdf36896
commit 2f773c0709
3 changed files with 35 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 @@
2efe7c087d7073bffa64e5d538f22711 php-5.5.27.tar.xz

25
php-gd/Pkgfile Normal file
View File

@ -0,0 +1,25 @@
# Description: GD module for PHP
# URL: http://www.php.net
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: libgd
name=php-gd
version=5.5.27
release=1
source=(http://www.php.net/distributions/php-$version.tar.xz)
build() {
cd php-$version
./configure \
--disable-all \
--with-${name#*-}=shared,/usr
make build-modules
install -d $PKG/etc/php/conf.d
for i in modules/*.so; do
install -D -m755 $i $PKG/usr/lib/php/extensions/${i##*/}
echo extension=/usr/lib/php/extensions/${i##*/} >> $PKG/etc/php/conf.d/${name#php-}.ini
done
}