wok-next view 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 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="oxipng"
4 VERSION="1.0.4"
5 CATEGORY="graphics"
6 SHORT_DESC="PNG optimizer written in Rust"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/shssoichiro/oxipng"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/shssoichiro/oxipng/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="rust"
16 compile_rules() {
17 # save caches here
18 export CARGO_HOME=/home/cargo
20 cargo build --release &&
21 install -Dm755 target/release/oxipng $install/usr/bin/oxipng || return 1
23 cook_pick_docs README.md
24 }
26 genpkg_rules() {
27 copy @std
28 }