wok-current annotate ecm/receipt @ rev 15056

broadcom-wl: no source file to move
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 10:27:54 2013 +0000 (2013-08-13)
parents 1f49cc79cf1c
children 223b265f40fd
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"
slaxemulator@12766 8 SOURCE="cmdpack"
slaxemulator@12766 9 TARBALL="$SOURCE-${VERSION}-src.tar.gz"
slaxemulator@7521 10 WEB_SITE="http://www.neillcorlett.com/ecm/"
gokhlayeh@8548 11 WGET_URL="http://www.neillcorlett.com/downloads/$TARBALL"
slaxemulator@7521 12
slaxemulator@7521 13 # Rules to configure and make the package.
slaxemulator@7521 14 compile_rules()
slaxemulator@7521 15 {
pascal@12754 16 cd $src/src
slaxemulator@12766 17 mkdir -p $DESTDIR/usr/bin
pascal@12754 18 for i in *.c; do
pascal@12754 19 echo "Compile $i..."
pascal@12754 20 ./mkgcc ${i%.c} || return 1
slaxemulator@12766 21 cp -a ${i%.c} $DESTDIR/usr/bin
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
slaxemulator@12766 29 cp -a $install/usr/bin/ecm $fs/usr/bin
slaxemulator@12766 30 ln -sf ecm $fs/usr/bin/unecm
slaxemulator@7521 31 }
slaxemulator@7521 32