wok-next annotate oxipng/receipt @ rev 21493
updated aria2 (1.34.0 -> 1.35.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 18 21:19:09 2020 +0100 (2020-06-18) |
parents | |
children |
rev | line source |
---|---|
al@20855 | 1 # SliTaz package receipt v2. |
al@20855 | 2 |
al@20855 | 3 PACKAGE="oxipng" |
al@20855 | 4 VERSION="1.0.4" |
al@20855 | 5 CATEGORY="graphics" |
al@20855 | 6 SHORT_DESC="PNG optimizer written in Rust" |
al@20855 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20855 | 8 LICENSE="MIT" |
al@20855 | 9 WEB_SITE="https://github.com/shssoichiro/oxipng" |
al@20855 | 10 |
al@20855 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20855 | 12 WGET_URL="https://github.com/shssoichiro/oxipng/archive/v$VERSION.tar.gz" |
al@20855 | 13 |
al@20855 | 14 BUILD_DEPENDS="rust" |
al@20855 | 15 |
al@20855 | 16 compile_rules() { |
al@20855 | 17 # save caches here |
al@20855 | 18 export CARGO_HOME=/home/cargo |
al@20855 | 19 |
al@20855 | 20 cargo build --release && |
al@20855 | 21 install -Dm755 target/release/oxipng $install/usr/bin/oxipng || return 1 |
al@20855 | 22 |
al@20855 | 23 cook_pick_docs README.md |
al@20855 | 24 } |
al@20855 | 25 |
al@20855 | 26 genpkg_rules() { |
al@20855 | 27 copy @std |
al@20855 | 28 } |