wok view svgcleaner/receipt @ rev 19473
Add svgcleaner
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 01 02:51:21 2016 +0200 (2016-11-01) |
parents | |
children | 073c0960ba36 |
line source
1 # SliTaz package receipt.
3 PACKAGE="svgcleaner"
4 VERSION="0.7.1"
5 COMMIT="3537798"
6 CATEGORY="graphics"
7 SHORT_DESC="Clean up SVG files from the unnecessary data"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/RazrFalcon/svgcleaner"
11 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"
14 BUILD_DEPENDS="rust-cargo cacerts"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # to build from crates: no source needed, but no version control
20 #cargo install svgcleaner --root=$install/usr
22 cargo build --release
23 mkdir -p $install/usr/bin
24 cp -a $src/target/release/svgcleaner $install/usr/bin
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cook_copy_files svgcleaner
31 }