SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ecm"

# SliTaz package receipt.

PACKAGE="ecm"
VERSION="1.06"
CATEGORY="misc"
SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL3"
WEB_SITE="https://github.com/chungy/cmdpack"

SOURCE="cmdpack"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"

BUILD_DEPENDS="asciidoc docbook-xsl libxml2-tools libxslt"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make &&
    make install prefix=/usr
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin

    cp -a $install/usr/bin/bin2ecm    $fs/usr/bin
    cp -a $install/usr/bin/ecm2bin    $fs/usr/bin
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)