wok-6.x view svgcleaner/receipt @ rev 23864
syslinux/isoboot.s: accept user args (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 19 17:01:11 2020 +0000 (2020-06-19) |
parents | 073c0960ba36 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="svgcleaner"
4 VERSION="0.9.5"
5 CATEGORY="graphics"
6 SHORT_DESC="Clean up SVG files from the unnecessary data."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/RazrFalcon/svgcleaner"
11 TARBALL="$PACKAGE-$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
24 mkdir -p $install/usr/bin
25 cp -a $src/target/release/svgcleaner $install/usr/bin
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cook_copy_files svgcleaner
32 }