wok-stable annotate ecm/receipt @ rev 7662

Fixed typo in virtualbox-ose.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 09:02:37 2010 +0000 (2010-12-16)
parents
children 1dc033b25f22
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/"
slaxemulator@7521 12 WGET="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 {
slaxemulator@7521 17 src=$WOK/$PACKAGE/$PACKAGE-$VERSION
slaxemulator@7521 18 mkdir -p $src
slaxemulator@7521 19 cd $src
slaxemulator@7521 20 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
slaxemulator@7521 21 unzip $SOURCES_REPOSITORY/$TARBALL
slaxemulator@7521 22 else
slaxemulator@7521 23 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced
slaxemulator@7521 24 wget -O $SOURCES_REPOSITORY/$TARBALL $WGET
slaxemulator@7521 25 unzip $SOURCES_REPOSITORY/$TARBALL -d $src
slaxemulator@7521 26 fi
slaxemulator@7521 27 for i in {,un}ecm; do
slaxemulator@7521 28 gcc $i.c -o $i
slaxemulator@7521 29 done
slaxemulator@7521 30
slaxemulator@7521 31 }
slaxemulator@7521 32
slaxemulator@7521 33 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7521 34 genpkg_rules()
slaxemulator@7521 35 {
slaxemulator@7521 36 mkdir -p $fs/usr/bin
slaxemulator@7521 37 cp -a $src/ecm $fs/usr/bin
slaxemulator@7521 38 cp -a $src/unecm $fs/usr/bin
slaxemulator@7521 39 }
slaxemulator@7521 40