wok-next diff ecm/receipt @ rev 15161
Up xorg-xf86-input-elographics (1.4.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 18:40:18 2013 +0000 (2013-08-15) |
parents | 1f49cc79cf1c |
children | 223b265f40fd |
line diff
1.1 --- a/ecm/receipt Fri May 11 14:55:49 2012 +0200 1.2 +++ b/ecm/receipt Thu Aug 15 18:40:18 2013 +0000 1.3 @@ -2,13 +2,11 @@ 1.4 1.5 PACKAGE="ecm" 1.6 VERSION="1.03" 1.7 -SOURCE="cmdpack" 1.8 CATEGORY="misc" 1.9 SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools" 1.10 MAINTAINER="slaxemulator@gmail.com" 1.11 -DEPENDS="glibc-base" 1.12 -BUILD_DEPENDS="" 1.13 -TARBALL="$SOURCE-$VERSION-src.tar.gz" 1.14 +SOURCE="cmdpack" 1.15 +TARBALL="$SOURCE-${VERSION}-src.tar.gz" 1.16 WEB_SITE="http://www.neillcorlett.com/ecm/" 1.17 WGET_URL="http://www.neillcorlett.com/downloads/$TARBALL" 1.18 1.19 @@ -16,9 +14,11 @@ 1.20 compile_rules() 1.21 { 1.22 cd $src/src 1.23 + mkdir -p $DESTDIR/usr/bin 1.24 for i in *.c; do 1.25 echo "Compile $i..." 1.26 ./mkgcc ${i%.c} || return 1 1.27 + cp -a ${i%.c} $DESTDIR/usr/bin 1.28 done 1.29 } 1.30 1.31 @@ -26,7 +26,7 @@ 1.32 genpkg_rules() 1.33 { 1.34 mkdir -p $fs/usr/bin 1.35 - cp -a $src/src/ecm $fs/usr/bin 1.36 - ln -s ecm $fs/usr/bin/unecm 1.37 + cp -a $install/usr/bin/ecm $fs/usr/bin 1.38 + ln -sf ecm $fs/usr/bin/unecm 1.39 } 1.40