wok-6.x view libvorbis/receipt @ rev 8922

Fix gob2: add bdep flex
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 01 02:33:54 2011 +0100 (2011-03-01)
parents d375fc2245f5
children 0f8dcbf8807b
line source
1 # SliTaz package receipt.
3 PACKAGE="libvorbis"
4 VERSION="1.3.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Vorbis base library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libogg"
9 BUILD_DEPENDS="libogg-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.xiph.org/"
12 WGET_URL="http://downloads.xiph.org/releases/vorbis/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
29 # The libvorbisenc files should go in libvorbis-enc
30 #cp -a $_pkg/usr/lib/libvorbis.so* $fs/usr/lib
31 #cp -a $_pkg/usr/lib/libvorbisfile.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 strip --strip-unneeded $fs/usr/lib/*
35 }