wok-next annotate svgcleaner/receipt @ rev 19620

Up perl-test-pod, perl-yaml-syck, xmlto, rust, svgcleaner.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Feb 07 19:04:50 2017 +0200 (2017-02-07)
parents 073c0960ba36
children 7387df590f12
rev   line source
al@19473 1 # SliTaz package receipt.
al@19473 2
al@19473 3 PACKAGE="svgcleaner"
al@19620 4 VERSION="0.8.1"
al@19620 5 #COMMIT="1f579e8"
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@19620 11
al@19487 12 TARBALL="$PACKAGE-${COMMIT:-v$VERSION}.tar.gz"
al@19620 13 WGET_URL="$GITHUB/RazrFalcon/svgcleaner/tarball/${COMMIT:-v$VERSION}"
al@19473 14
al@19473 15 BUILD_DEPENDS="rust-cargo cacerts"
al@19473 16
al@19473 17 # Rules to configure and make the package.
al@19473 18 compile_rules()
al@19473 19 {
al@19473 20 # to build from crates: no source needed, but no version control
al@19473 21 #cargo install svgcleaner --root=$install/usr
al@19473 22
al@19473 23 cargo build --release
al@19473 24 mkdir -p $install/usr/bin
al@19473 25 cp -a $src/target/release/svgcleaner $install/usr/bin
al@19473 26 }
al@19473 27
al@19473 28 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19473 29 genpkg_rules()
al@19473 30 {
al@19473 31 cook_copy_files svgcleaner
al@19473 32 }