wok-6.x annotate ecm/receipt @ rev 12754
Up ecm (1.03)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 11 14:55:49 2012 +0200 (2012-05-11) |
parents | e64069568fe7 |
children | 170bab8c0bcc |
rev | line source |
---|---|
slaxemulator@7521 | 1 # SliTaz package receipt. |
slaxemulator@7521 | 2 |
slaxemulator@7521 | 3 PACKAGE="ecm" |
pascal@12754 | 4 VERSION="1.03" |
pascal@12754 | 5 SOURCE="cmdpack" |
slaxemulator@7521 | 6 CATEGORY="misc" |
slaxemulator@7521 | 7 SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools" |
slaxemulator@7521 | 8 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7521 | 9 DEPENDS="glibc-base" |
pascal@12754 | 10 BUILD_DEPENDS="" |
pascal@12754 | 11 TARBALL="$SOURCE-$VERSION-src.tar.gz" |
slaxemulator@7521 | 12 WEB_SITE="http://www.neillcorlett.com/ecm/" |
gokhlayeh@8548 | 13 WGET_URL="http://www.neillcorlett.com/downloads/$TARBALL" |
slaxemulator@7521 | 14 |
slaxemulator@7521 | 15 # Rules to configure and make the package. |
slaxemulator@7521 | 16 compile_rules() |
slaxemulator@7521 | 17 { |
pascal@12754 | 18 cd $src/src |
pascal@12754 | 19 for i in *.c; do |
pascal@12754 | 20 echo "Compile $i..." |
pascal@12754 | 21 ./mkgcc ${i%.c} || return 1 |
slaxemulator@7521 | 22 done |
slaxemulator@7521 | 23 } |
slaxemulator@7521 | 24 |
slaxemulator@7521 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7521 | 26 genpkg_rules() |
slaxemulator@7521 | 27 { |
slaxemulator@7521 | 28 mkdir -p $fs/usr/bin |
pascal@12754 | 29 cp -a $src/src/ecm $fs/usr/bin |
pascal@12754 | 30 ln -s ecm $fs/usr/bin/unecm |
slaxemulator@7521 | 31 } |
slaxemulator@7521 | 32 |