wok-6.x annotate libvorbis/receipt @ rev 206
Full up category multimedia
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 13 14:19:21 2008 +0100 (2008-02-13) |
parents | a7cb804c8e95 |
children | 788eb14d270a |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="libvorbis" |
pankso@32 | 4 VERSION="1.2.0" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@32 | 6 SHORT_DESC="Vorbis base library." |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@32 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@32 | 9 WEB_SITE="http://www.xiph.org/" |
pankso@32 | 10 WGET_URL="http://downloads.xiph.org/releases/vorbis/$TARBALL" |
pankso@32 | 11 |
pankso@32 | 12 # Rules to configure and make the package. |
pankso@32 | 13 compile_rules() |
pankso@32 | 14 { |
pankso@32 | 15 cd $src |
pankso@32 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@32 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@32 | 18 make |
pankso@32 | 19 make DESTDIR=$PWD/_pkg install |
pankso@32 | 20 } |
pankso@32 | 21 |
pankso@32 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 23 genpkg_rules() |
pankso@32 | 24 { |
pankso@32 | 25 mkdir -p $fs/usr/lib |
pankso@32 | 26 |
pankso@32 | 27 # The libvorbisenc files should go in libvorbis-enc |
pankso@32 | 28 #cp -a $_pkg/usr/lib/libvorbis.so* $fs/usr/lib |
pankso@32 | 29 #cp -a $_pkg/usr/lib/libvorbisfile.so* $fs/usr/lib |
pankso@32 | 30 |
pankso@32 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@32 | 32 strip --strip-unneeded $fs/usr/lib/* |
pankso@32 | 33 } |
pankso@32 | 34 |