wok-6.x annotate libvorbis/receipt @ rev 1451

emelfm2 flac libvorbis parted vorbis-tools: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 03 13:43:47 2008 +0000 (2008-10-03)
parents e0f2bee5b24d
children f65c32b5d6ac
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"
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@32 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@32 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