wok view libvorbis/receipt @ rev 6654

Added linux-api-headers. This is like linux-headers but it doesn't depend on linux to be build. Also this means we can update the kernel without rebuild the toolchain.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 11 02:17:02 2010 +0000 (2010-10-11)
parents f65c32b5d6ac
children e5a2be0878d6
line source
1 # SliTaz package receipt.
3 PACKAGE="libvorbis"
4 VERSION="1.3.1"
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 }