wok-next view leanify/receipt @ rev 21178

shaarli: up (0.10.4)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 19 15:44:03 2019 +0300 (2019-04-19)
parents
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="leanify"
4 VERSION="0.4.3+20180521" # latest release 0.4.3 from 2015-11-26
5 COMMIT="2e6b972" # latest commit from 2018-05-21
6 CATEGORY="utilities"
7 SHORT_DESC="Lightweight lossless file minifier/optimizer"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/JayXon/Leanify"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/JayXon/Leanify/archive/${COMMIT:-v$VERSION}.tar.gz"
15 compile_rules() {
16 # gold linker don't understand '-Os'
17 export LDFLAGS="${LDFLAGS//-Os/-O2}"
19 make &&
20 install -Dm755 leanify $install/usr/bin/leanify || return 1
22 cook_pick_docs README.md
23 }
25 genpkg_rules() {
26 copy @std
27 }