wok view ecm/receipt @ rev 25690

mmv: inserted current_version()
author Hans-G?nter Theisgen
date Mon Apr 15 15:20:24 2024 +0100 (7 weeks ago)
parents f08fe4855be4
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ecm"
4 VERSION="1.06"
5 CATEGORY="misc"
6 SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/chungy/cmdpack"
11 SOURCE="cmdpack"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
15 BUILD_DEPENDS="asciidoc docbook-xsl libxml2-tools libxslt"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make &&
28 make install prefix=/usr
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
36 cp -a $install/usr/bin/bin2ecm $fs/usr/bin
37 cp -a $install/usr/bin/ecm2bin $fs/usr/bin
38 }