wok-6.x view ecm/receipt @ rev 7968

Fix: gobject-introspection depends on python
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 17 17:40:27 2011 +0100 (2011-01-17)
parents
children 1dc033b25f22
line source
1 # SliTaz package receipt.
3 PACKAGE="ecm"
4 VERSION="100"
5 CATEGORY="misc"
6 SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="unzip"
10 TARBALL="${PACKAGE}${VERSION}.zip"
11 WEB_SITE="http://www.neillcorlett.com/ecm/"
12 WGET="http://www.neillcorlett.com/downloads/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 src=$WOK/$PACKAGE/$PACKAGE-$VERSION
18 mkdir -p $src
19 cd $src
20 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
21 unzip $SOURCES_REPOSITORY/$TARBALL
22 else
23 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced
24 wget -O $SOURCES_REPOSITORY/$TARBALL $WGET
25 unzip $SOURCES_REPOSITORY/$TARBALL -d $src
26 fi
27 for i in {,un}ecm; do
28 gcc $i.c -o $i
29 done
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $src/ecm $fs/usr/bin
38 cp -a $src/unecm $fs/usr/bin
39 }