wok-current diff jsmin/receipt @ rev 18497

libfm: define tar.xz for xarchiver
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Oct 11 13:59:02 2015 +0200 (2015-10-11)
parents
children 7392cb9148ca
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/jsmin/receipt	Sun Oct 11 13:59:02 2015 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="jsmin"
     1.7 +COMMIT="1bf6ce5f74a9f8752ac7f5d115b8d7ccb31cfe1b"
     1.8 +VERSION="${COMMIT:0:10}"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="JavaScript minification filter"
    1.11 +MAINTAINER="al.bobylev@gmail.com"
    1.12 +LICENSE="other"
    1.13 +WEB_SITE="https://github.com/douglascrockford/JSMin"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"
    1.16 +
    1.17 +DEPENDS=""
    1.18 +BUILD_DEPENDS=""
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	gcc jsmin.c -o jsmin
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/bin
    1.30 +	cp -a $src/jsmin $fs/usr/bin
    1.31 +}