wok-next annotate ecm/receipt @ rev 8685
Fix bdep: tilda needs flex to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Feb 17 18:56:59 2011 +0100 (2011-02-17) |
parents | aecece5740c6 |
children | e64069568fe7 |
rev | line source |
---|---|
slaxemulator@7521 | 1 # SliTaz package receipt. |
slaxemulator@7521 | 2 |
slaxemulator@7521 | 3 PACKAGE="ecm" |
slaxemulator@7521 | 4 VERSION="100" |
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" |
slaxemulator@7521 | 8 DEPENDS="glibc-base" |
slaxemulator@7521 | 9 BUILD_DEPENDS="unzip" |
slaxemulator@7521 | 10 TARBALL="${PACKAGE}${VERSION}.zip" |
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 { |
gokhlayeh@8548 | 17 for i in ecm unecm; do |
slaxemulator@7521 | 18 gcc $i.c -o $i |
slaxemulator@7521 | 19 done |
slaxemulator@7521 | 20 } |
slaxemulator@7521 | 21 |
slaxemulator@7521 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7521 | 23 genpkg_rules() |
slaxemulator@7521 | 24 { |
slaxemulator@7521 | 25 mkdir -p $fs/usr/bin |
slaxemulator@7521 | 26 cp -a $src/ecm $fs/usr/bin |
slaxemulator@7521 | 27 cp -a $src/unecm $fs/usr/bin |
slaxemulator@7521 | 28 } |
slaxemulator@7521 | 29 |