diff --git a/php-tidy/.footprint b/php-tidy/.footprint new file mode 100644 index 000000000..c29f1c573 --- /dev/null +++ b/php-tidy/.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/tidy.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/tidy.so diff --git a/php-tidy/.md5sum b/php-tidy/.md5sum new file mode 100644 index 000000000..77844148f --- /dev/null +++ b/php-tidy/.md5sum @@ -0,0 +1 @@ +d0caf908b129f2538d942d756c4cb04e php-5.5.28.tar.xz diff --git a/php-tidy/Pkgfile b/php-tidy/Pkgfile new file mode 100644 index 000000000..196ae6446 --- /dev/null +++ b/php-tidy/Pkgfile @@ -0,0 +1,25 @@ +# Description: Tidy module for PHP +# URL: http://www.php.net +# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve +# Depends on: php tidy + +name=php-tidy +version=5.5.28 +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 + +}