wok-6.x annotate ecm/receipt @ rev 10017
thunar-archive-plugin: fix bdeps
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu May 19 12:28:58 2011 +0200 (2011-05-19) |
parents | 1dc033b25f22 |
children | 1f49cc79cf1c |
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@8796 | 17 cd $src |
gokhlayeh@8548 | 18 for i in ecm unecm; do |
slaxemulator@7521 | 19 gcc $i.c -o $i |
slaxemulator@7521 | 20 done |
slaxemulator@7521 | 21 } |
slaxemulator@7521 | 22 |
slaxemulator@7521 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7521 | 24 genpkg_rules() |
slaxemulator@7521 | 25 { |
slaxemulator@7521 | 26 mkdir -p $fs/usr/bin |
slaxemulator@7521 | 27 cp -a $src/ecm $fs/usr/bin |
slaxemulator@7521 | 28 cp -a $src/unecm $fs/usr/bin |
slaxemulator@7521 | 29 } |
slaxemulator@7521 | 30 |