wok-next annotate vorbis-tools/receipt @ rev 9827
gcc3: should fix the build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 15 16:30:57 2011 +0200 (2011-05-15) |
parents | 4897058add72 |
children | ece94ab3510a |
rev | line source |
---|---|
pankso@84 | 1 # SliTaz package receipt. |
pankso@84 | 2 |
pankso@84 | 3 PACKAGE="vorbis-tools" |
devl547@5655 | 4 VERSION="1.4.0" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@84 | 6 SHORT_DESC="Vorbis encoder, decoder and tiny tools." |
pankso@84 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@5007 | 8 DEPENDS="libogg libvorbis flac libao libcurl speex libcrypto" |
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" |
jozee@4975 | 13 TAGS="multimedia ogg" |
pankso@84 | 14 |
pankso@84 | 15 # Rules to configure and make the package. |
pankso@84 | 16 compile_rules() |
pankso@84 | 17 { |
pankso@84 | 18 cd $src |
pankso@4314 | 19 # Fix for version 1.1.1 |
pankso@4314 | 20 #sed -i '/CURLOPT_MUTE/d' ogg123/http_transport.c |
pankso@84 | 21 ./configure \ |
pankso@84 | 22 --prefix=/usr \ |
pankso@84 | 23 --mandir=/usr/share/man \ |
pascal@1451 | 24 $CONFIGURE_ARGS && |
pascal@1451 | 25 make && |
pankso@84 | 26 make DESTDIR=$PWD/_pkg install |
pankso@84 | 27 } |
pankso@84 | 28 |
pankso@84 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@84 | 30 genpkg_rules() |
pankso@84 | 31 { |
pankso@4314 | 32 mkdir -p $fs/usr |
pankso@84 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@84 | 34 } |