wok-current annotate libvorbis/receipt @ rev 4314
Up: libogg, libtheora, *vorbis* to last stable release
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Sep 28 21:13:27 2009 +0200 (2009-09-28) |
parents | 788eb14d270a |
children | d375fc2245f5 |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="libvorbis" |
pankso@4314 | 4 VERSION="1.2.3" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@32 | 6 SHORT_DESC="Vorbis base library." |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@1451 | 8 DEPENDS="libogg" |
pascal@1451 | 9 BUILD_DEPENDS="libogg-dev" |
pankso@32 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@32 | 11 WEB_SITE="http://www.xiph.org/" |
pankso@32 | 12 WGET_URL="http://downloads.xiph.org/releases/vorbis/$TARBALL" |
pankso@32 | 13 |
pankso@32 | 14 # Rules to configure and make the package. |
pankso@32 | 15 compile_rules() |
pankso@32 | 16 { |
pankso@32 | 17 cd $src |
pankso@32 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1451 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1451 | 20 make && |
pankso@32 | 21 make DESTDIR=$PWD/_pkg install |
pankso@32 | 22 } |
pankso@32 | 23 |
pankso@32 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 25 genpkg_rules() |
pankso@32 | 26 { |
pankso@32 | 27 mkdir -p $fs/usr/lib |
pankso@4314 | 28 |
pankso@32 | 29 # The libvorbisenc files should go in libvorbis-enc |
pankso@32 | 30 #cp -a $_pkg/usr/lib/libvorbis.so* $fs/usr/lib |
pankso@32 | 31 #cp -a $_pkg/usr/lib/libvorbisfile.so* $fs/usr/lib |
pankso@4314 | 32 |
pankso@32 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@32 | 34 strip --strip-unneeded $fs/usr/lib/* |
pankso@32 | 35 } |
pankso@32 | 36 |