wok rev 19473
Add svgcleaner
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 01 02:51:21 2016 +0200 (2016-11-01) |
parents | 1aa53b0104ba |
children | f0167c6f681a |
files | svgcleaner/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/svgcleaner/receipt Tue Nov 01 02:51:21 2016 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="svgcleaner" 1.7 +VERSION="0.7.1" 1.8 +COMMIT="3537798" 1.9 +CATEGORY="graphics" 1.10 +SHORT_DESC="Clean up SVG files from the unnecessary data" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="GPL2" 1.13 +WEB_SITE="https://github.com/RazrFalcon/svgcleaner" 1.14 +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.gz" 1.15 +WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" 1.16 + 1.17 +BUILD_DEPENDS="rust-cargo cacerts" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + # to build from crates: no source needed, but no version control 1.23 + #cargo install svgcleaner --root=$install/usr 1.24 + 1.25 + cargo build --release 1.26 + mkdir -p $install/usr/bin 1.27 + cp -a $src/target/release/svgcleaner $install/usr/bin 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + cook_copy_files svgcleaner 1.34 +}