wok-current annotate vorbis-tools/receipt @ rev 4258
vorbis-tools: fix build for libcurl 7.15.4+
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 25 11:47:17 2009 +0200 (2009-09-25) |
parents | 74d9e193ac36 |
children | f65c32b5d6ac |
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 |
pascal@4258 | 18 sed -i '/CURLOPT_MUTE/d' ogg123/http_transport.c |
pankso@84 | 19 ./configure \ |
pankso@84 | 20 --prefix=/usr \ |
pankso@84 | 21 --mandir=/usr/share/man \ |
pascal@1451 | 22 $CONFIGURE_ARGS && |
pascal@1451 | 23 make && |
pankso@84 | 24 make DESTDIR=$PWD/_pkg install |
pankso@84 | 25 } |
pankso@84 | 26 |
pankso@84 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@84 | 28 genpkg_rules() |
pankso@84 | 29 { |
pankso@84 | 30 mkdir -p $fs/usr/share/locale |
pankso@84 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@84 | 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@84 | 33 strip -s $fs/usr/bin/* |
pankso@84 | 34 } |
pankso@84 | 35 |