wok annotate ecm/receipt @ rev 24666

created recipes for double-conversion and double-conversion-dev
author Hans-G?nter Theisgen
date Fri Mar 11 15:40:49 2022 +0100 (2022-03-11)
parents 5ea0ce1cecc0
children 20ad21d5532c
rev   line source
slaxemulator@7521 1 # SliTaz package receipt.
slaxemulator@7521 2
slaxemulator@7521 3 PACKAGE="ecm"
Hans-G?nter@22670 4 VERSION="1.06"
slaxemulator@7521 5 CATEGORY="misc"
Hans-G?nter@22670 6 SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools."
slaxemulator@7521 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15202 8 LICENSE="GPL3"
Hans-G?nter@22670 9 WEB_SITE="https://github.com/chungy/cmdpack"
Hans-G?nter@22670 10
slaxemulator@12766 11 SOURCE="cmdpack"
Hans-G?nter@22670 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@22670 13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
Hans-G?nter@22670 14
pascal@24060 15 BUILD_DEPENDS="asciidoc docbook-xsl libxml2-tools libxslt"
slaxemulator@7521 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
slaxemulator@7521 23 # Rules to configure and make the package.
slaxemulator@7521 24 compile_rules()
slaxemulator@7521 25 {
Hans-G?nter@22670 26 make &&
Hans-G?nter@22670 27 make install prefix=/usr
slaxemulator@7521 28 }
slaxemulator@7521 29
slaxemulator@7521 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7521 31 genpkg_rules()
slaxemulator@7521 32 {
slaxemulator@7521 33 mkdir -p $fs/usr/bin
Hans-G?nter@22670 34
Hans-G?nter@22670 35 cp -a $install/usr/bin/bin2ecm $fs/usr/bin
Hans-G?nter@22670 36 cp -a $install/usr/bin/ecm2bin $fs/usr/bin
slaxemulator@7521 37 }