wok-next diff oxipng/receipt @ rev 21456

updated squid (3.5.27 -> 4.11)
author Hans-G?nter Theisgen
date Thu May 07 14:16:06 2020 +0100 (2020-05-07)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/oxipng/receipt	Thu May 07 14:16:06 2020 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="oxipng"
     1.7 +VERSION="1.0.4"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="PNG optimizer written in Rust"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://github.com/shssoichiro/oxipng"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/shssoichiro/oxipng/archive/v$VERSION.tar.gz"
    1.16 +
    1.17 +BUILD_DEPENDS="rust"
    1.18 +
    1.19 +compile_rules() {
    1.20 +	# save caches here
    1.21 +	export CARGO_HOME=/home/cargo
    1.22 +
    1.23 +	cargo build --release &&
    1.24 +	install -Dm755 target/release/oxipng $install/usr/bin/oxipng || return 1
    1.25 +
    1.26 +	cook_pick_docs README.md
    1.27 +}
    1.28 +
    1.29 +genpkg_rules() {
    1.30 +	copy @std
    1.31 +}