wok-next annotate vorbis-tools/receipt @ rev 4202

knock: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 23 21:56:27 2009 +0200 (2009-09-23)
parents 788eb14d270a
children 6c7f52500ea8
rev   line source
pankso@84 1 # SliTaz package receipt.
pankso@84 2
pankso@84 3 PACKAGE="vorbis-tools"
pankso@84 4 VERSION="1.1.1"
pankso@206 5 CATEGORY="multimedia"
pankso@84 6 SHORT_DESC="Vorbis encoder, decoder and tiny tools."
pankso@84 7 MAINTAINER="pankso@slitaz.org"
pascal@2406 8 DEPENDS="libogg libvorbis"
pascal@1451 9 BUILD_DEPENDS="libogg-dev"
pankso@84 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@84 11 WEB_SITE="http://www.vorbis.com/"
pankso@84 12 WGET_URL="http://downloads.xiph.org/releases/vorbis/$TARBALL"
pankso@84 13
pankso@84 14 # Rules to configure and make the package.
pankso@84 15 compile_rules()
pankso@84 16 {
pankso@84 17 cd $src
pankso@84 18 ./configure \
pankso@84 19 --prefix=/usr \
pankso@84 20 --mandir=/usr/share/man \
pascal@1451 21 $CONFIGURE_ARGS &&
pascal@1451 22 make &&
pankso@84 23 make DESTDIR=$PWD/_pkg install
pankso@84 24 }
pankso@84 25
pankso@84 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@84 27 genpkg_rules()
pankso@84 28 {
pankso@84 29 mkdir -p $fs/usr/share/locale
pankso@84 30 cp -a $_pkg/usr/bin $fs/usr
pankso@84 31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@84 32 strip -s $fs/usr/bin/*
pankso@84 33 }
pankso@84 34