wok annotate ecm/receipt @ rev 16617
libgd: it build with same receipt than december 2013 - but with error on libgd-config that may be present for a long time
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 08 20:04:50 2014 +0200 (2014-05-08) |
parents | 170bab8c0bcc |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
slaxemulator@7521 | 1 # SliTaz package receipt. |
slaxemulator@7521 | 2 |
slaxemulator@7521 | 3 PACKAGE="ecm" |
pascal@12754 | 4 VERSION="1.03" |
slaxemulator@7521 | 5 CATEGORY="misc" |
slaxemulator@7521 | 6 SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools" |
slaxemulator@7521 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15202 | 8 LICENSE="GPL3" |
slaxemulator@12766 | 9 SOURCE="cmdpack" |
slaxemulator@12766 | 10 TARBALL="$SOURCE-${VERSION}-src.tar.gz" |
slaxemulator@7521 | 11 WEB_SITE="http://www.neillcorlett.com/ecm/" |
gokhlayeh@8548 | 12 WGET_URL="http://www.neillcorlett.com/downloads/$TARBALL" |
slaxemulator@7521 | 13 |
slaxemulator@7521 | 14 # Rules to configure and make the package. |
slaxemulator@7521 | 15 compile_rules() |
slaxemulator@7521 | 16 { |
pascal@12754 | 17 cd $src/src |
slaxemulator@12766 | 18 mkdir -p $DESTDIR/usr/bin |
pascal@12754 | 19 for i in *.c; do |
pascal@12754 | 20 echo "Compile $i..." |
pascal@12754 | 21 ./mkgcc ${i%.c} || return 1 |
slaxemulator@12766 | 22 cp -a ${i%.c} $DESTDIR/usr/bin |
slaxemulator@7521 | 23 done |
slaxemulator@7521 | 24 } |
slaxemulator@7521 | 25 |
slaxemulator@7521 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7521 | 27 genpkg_rules() |
slaxemulator@7521 | 28 { |
slaxemulator@7521 | 29 mkdir -p $fs/usr/bin |
slaxemulator@12766 | 30 cp -a $install/usr/bin/ecm $fs/usr/bin |
slaxemulator@12766 | 31 ln -sf ecm $fs/usr/bin/unecm |
slaxemulator@7521 | 32 } |
slaxemulator@7521 | 33 |