wok-6.x rev 22670

updated ecm and ecm-extras (1.03 -> 1.06)
author Hans-G?nter Theisgen
date Fri Jan 17 14:33:54 2020 +0100 (2020-01-17)
parents 8f0435312aca
children e5c023d49391
files ecm-extras/receipt ecm/receipt
line diff
     1.1 --- a/ecm-extras/receipt	Fri Jan 17 11:02:35 2020 +0100
     1.2 +++ b/ecm-extras/receipt	Fri Jan 17 14:33:54 2020 +0100
     1.3 @@ -1,18 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ecm-extras"
     1.7 -VERSION="1.03"
     1.8 +VERSION="1.06"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="Extra tools from ecm"
    1.11 +SHORT_DESC="Extra tools from ecm."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="GPL3"
    1.14 -WEB_SITE="https://web.archive.org/web/20140328062622/http://www.neillcorlett.com/ecm/"
    1.15 +WEB_SITE="https://github.com/chungy/cmdpack"
    1.16 +
    1.17  WANTED="ecm"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22  	mkdir -p $fs/usr
    1.23 -	cp -a $install/usr/bin $fs/usr
    1.24 -	[ -f $fs/usr/bin/ecm ] && rm -f $fs/usr/bin/ecm
    1.25 +	cp -a $install/usr/bin	$fs/usr
    1.26 +	[ -f $fs/usr/bin/ecm2bin ] && rm -f $fs/usr/bin/ecm2bin
    1.27 +	[ -f $fs/usr/bin/bin2ecm ] && rm -f $fs/usr/bin/bin2ecm
    1.28  }
     2.1 --- a/ecm/receipt	Fri Jan 17 11:02:35 2020 +0100
     2.2 +++ b/ecm/receipt	Fri Jan 17 14:33:54 2020 +0100
     2.3 @@ -1,33 +1,31 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="ecm"
     2.7 -VERSION="1.03"
     2.8 +VERSION="1.06"
     2.9  CATEGORY="misc"
    2.10 -SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools"
    2.11 +SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools."
    2.12  MAINTAINER="slaxemulator@gmail.com"
    2.13  LICENSE="GPL3"
    2.14 +WEB_SITE="https://github.com/chungy/cmdpack"
    2.15 +
    2.16  SOURCE="cmdpack"
    2.17 -TARBALL="$SOURCE-${VERSION}-src.tar.gz"
    2.18 -WEB_SITE="https://web.archive.org/web/20140328062622/http://www.neillcorlett.com/ecm/"
    2.19 -WGET_URL="http://www.neillcorlett.com/downloads/$TARBALL"
    2.20 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.21 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    2.22 +
    2.23 +BUILD_DEPENDS="asccidoc docbook-xml libxml2-tools"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	cd $src/src
    2.29 -	mkdir -p $DESTDIR/usr/bin
    2.30 -	for i in *.c; do
    2.31 -		echo "Compile $i..."
    2.32 -		./mkgcc ${i%.c} || return 1
    2.33 -		cp -a ${i%.c} $DESTDIR/usr/bin
    2.34 -	done
    2.35 +	make &&
    2.36 +	make install prefix=/usr
    2.37  }
    2.38  
    2.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.40  genpkg_rules()
    2.41  {
    2.42  	mkdir -p $fs/usr/bin
    2.43 -	cp -a $install/usr/bin/ecm $fs/usr/bin
    2.44 -	ln -sf ecm $fs/usr/bin/unecm
    2.45 +
    2.46 +	cp -a $install/usr/bin/bin2ecm	$fs/usr/bin
    2.47 +	cp -a $install/usr/bin/ecm2bin	$fs/usr/bin
    2.48  }
    2.49 -