wok-current rev 12766
ecm: Sync with wok-tank. Add ecm-extras.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 12 11:12:53 2012 +0000 (2012-05-12) |
parents | 7b71e52eda4c |
children | 3bae6b83919f |
files | ecm-extras/receipt ecm/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ecm-extras/receipt Sat May 12 11:12:53 2012 +0000 1.3 @@ -0,0 +1,17 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ecm-extras" 1.7 +VERSION="1.03" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Extra tools from ecm" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +WEB_SITE="http://www.neillcorlett.com/ecm/" 1.12 +WANTED="ecm" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr 1.18 + cp -a $install/usr/bin $fs/usr 1.19 + [ -f $fs/usr/bin/ecm ] && rm -f $fs/usr/bin/ecm 1.20 +}
2.1 --- a/ecm/receipt Sat May 12 10:53:57 2012 +0000 2.2 +++ b/ecm/receipt Sat May 12 11:12:53 2012 +0000 2.3 @@ -2,13 +2,11 @@ 2.4 2.5 PACKAGE="ecm" 2.6 VERSION="1.03" 2.7 -SOURCE="cmdpack" 2.8 CATEGORY="misc" 2.9 SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools" 2.10 MAINTAINER="slaxemulator@gmail.com" 2.11 -DEPENDS="glibc-base" 2.12 -BUILD_DEPENDS="" 2.13 -TARBALL="$SOURCE-$VERSION-src.tar.gz" 2.14 +SOURCE="cmdpack" 2.15 +TARBALL="$SOURCE-${VERSION}-src.tar.gz" 2.16 WEB_SITE="http://www.neillcorlett.com/ecm/" 2.17 WGET_URL="http://www.neillcorlett.com/downloads/$TARBALL" 2.18 2.19 @@ -16,9 +14,11 @@ 2.20 compile_rules() 2.21 { 2.22 cd $src/src 2.23 + mkdir -p $DESTDIR/usr/bin 2.24 for i in *.c; do 2.25 echo "Compile $i..." 2.26 ./mkgcc ${i%.c} || return 1 2.27 + cp -a ${i%.c} $DESTDIR/usr/bin 2.28 done 2.29 } 2.30 2.31 @@ -26,7 +26,7 @@ 2.32 genpkg_rules() 2.33 { 2.34 mkdir -p $fs/usr/bin 2.35 - cp -a $src/src/ecm $fs/usr/bin 2.36 - ln -s ecm $fs/usr/bin/unecm 2.37 + cp -a $install/usr/bin/ecm $fs/usr/bin 2.38 + ln -sf ecm $fs/usr/bin/unecm 2.39 } 2.40