wok-next diff leanify/receipt @ rev 21080

Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 24 02:07:02 2018 +0200 (2018-12-24)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/leanify/receipt	Mon Dec 24 02:07:02 2018 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="leanify"
     1.7 +VERSION="0.4.3+20180521" # latest release 0.4.3 from 2015-11-26
     1.8 +COMMIT="2e6b972"         # latest commit        from 2018-05-21
     1.9 +CATEGORY="utilities"
    1.10 +SHORT_DESC="Lightweight lossless file minifier/optimizer"
    1.11 +MAINTAINER="al.bobylev@gmail.com"
    1.12 +LICENSE="MIT"
    1.13 +WEB_SITE="https://github.com/JayXon/Leanify"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WGET_URL="https://github.com/JayXon/Leanify/archive/${COMMIT:-v$VERSION}.tar.gz"
    1.17 +
    1.18 +compile_rules() {
    1.19 +	# gold linker don't understand '-Os'
    1.20 +	export LDFLAGS="${LDFLAGS//-Os/-O2}"
    1.21 +
    1.22 +	make &&
    1.23 +	install -Dm755 leanify $install/usr/bin/leanify || return 1
    1.24 +
    1.25 +	cook_pick_docs README.md
    1.26 +}
    1.27 +
    1.28 +genpkg_rules() {
    1.29 +	copy @std
    1.30 +}