wok-6.x view svgcleaner/receipt @ rev 23160
updated lzsa (0.5.6 -> 1.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 17 14:14:41 2020 +0100 (2020-03-17) |
parents | cb3ac397db94 |
children | 077406ca833e |
line source
1 # SliTaz package receipt.
3 PACKAGE="svgcleaner"
4 VERSION="0.7.1"
5 #COMMIT="1f1158f"
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:-v$VERSION}.tar.gz"
12 WGET_URL="$WEB_SITE/archive/${COMMIT:-v$VERSION}.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 }