Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=66ccec4de651eb39b9f98ee1168fc5ec33f3e709
commit 66ccec4de651eb39b9f98ee1168fc5ec33f3e709 Author: CSÃCSY László <[email protected]> Date: Mon May 13 13:24:18 2013 +0200 php-jsmin-1.0-1-x86_64 new package / initial import diff --git a/source/devel-extra/php-jsmin/FrugalBuild b/source/devel-extra/php-jsmin/FrugalBuild new file mode 100644 index 0000000..ac0e5ec --- /dev/null +++ b/source/devel-extra/php-jsmin/FrugalBuild @@ -0,0 +1,26 @@ +# Compiling Time: 0.01 SBU +# Maintainer: CSÉCSY László <[email protected]> + +pkgname=php-jsmin +pkgver=1.0 +pkgrel=1 +pkgdesc="Parses through javascript code and removes superfluous characters." +url="http://www.ypass.net/software/php_jsmin/" +up2date="lynx -dump http://www.ypass.net/software/php_jsmin/ | grep http.*php-jsmin | sed 's/.*php-jsmin-\(.*\)\.tgz.*/\1/'" +source=(http://www.ypass.net/downloads/$pkgname/$pkgname-$pkgver.tgz README.Frugalware) +groups=('devel-extra') +archs=('i686' 'x86_64') +depends=('php') +sha1sums=('5f8fda2d1721bf882d2d1b8189078c7dd7cf70c8' \ + 'ff61bf534d40a34e68cdcb48279e90c8cff1daea') + +build() +{ + PHP_PREFIX=/usr + Fcd + $PHP_PREFIX/bin/phpize || return 1 + Fmake --with-php-config=$PHP_PREFIX/bin/php-config + Fmakeinstall INSTALL_ROOT=$Fdestdir +} + +# optimization OK diff --git a/source/devel-extra/php-jsmin/README.Frugalware b/source/devel-extra/php-jsmin/README.Frugalware new file mode 100644 index 0000000..d186b35 --- /dev/null +++ b/source/devel-extra/php-jsmin/README.Frugalware @@ -0,0 +1,9 @@ +Setting up JSMin +~~~~~~~~~~~~~~~~ + +In order to use JSMin, you must add the following lines to your +'/etc/php.ini' file: + +---------------------------------------------------------------- +extension="/usr/lib/php/extensions/no-debug-non-zts-20090626/jsmin.so" +----------------------------------------------------------------
_______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
