wok-6.x view svgcleaner/receipt @ rev 20668
Up pjsip (2.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 21 10:25:55 2019 +0100 (2019-01-21) |
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 }