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