wok view ecm/receipt @ rev 13258

fail2ban: add apache-noscript & apache-proxy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 17 14:50:02 2012 +0200 (2012-08-17)
parents 1f49cc79cf1c
children 223b265f40fd
line source
1 # SliTaz package receipt.
3 PACKAGE="ecm"
4 VERSION="1.03"
5 CATEGORY="misc"
6 SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools"
7 MAINTAINER="slaxemulator@gmail.com"
8 SOURCE="cmdpack"
9 TARBALL="$SOURCE-${VERSION}-src.tar.gz"
10 WEB_SITE="http://www.neillcorlett.com/ecm/"
11 WGET_URL="http://www.neillcorlett.com/downloads/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src/src
17 mkdir -p $DESTDIR/usr/bin
18 for i in *.c; do
19 echo "Compile $i..."
20 ./mkgcc ${i%.c} || return 1
21 cp -a ${i%.c} $DESTDIR/usr/bin
22 done
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $install/usr/bin/ecm $fs/usr/bin
30 ln -sf ecm $fs/usr/bin/unecm
31 }