wok-next annotate libsndfile/receipt @ rev 2659

Add libsndfile
author Rohit Joshi <jozee@slitaz.org>
date Sat Apr 18 17:54:56 2009 +0000 (2009-04-18)
parents
children d4d3d13d92f5
rev   line source
jozee@2659 1 # SliTaz package receipt.
jozee@2659 2
jozee@2659 3 PACKAGE="libsndfile"
jozee@2659 4 VERSION="1.0.19"
jozee@2659 5 CATEGORY="multimedia"
jozee@2659 6 SHORT_DESC="A C library for reading and writing files containing sampled sound"
jozee@2659 7 MAINTAINER="jozee@slitaz.org"
jozee@2659 8 DEPENDS="alsa-lib flac"
jozee@2659 9 BUILD_DEPENDS="alsa-lib-dev flac-dev"
jozee@2659 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2659 11 WEB_SITE="http://www.mega-nerd.com/libsndfile/"
jozee@2659 12 WGET_URL="$WEBSITE/$TARBALL"
jozee@2659 13
jozee@2659 14 # Rules to configure and make the package.
jozee@2659 15 compile_rules()
jozee@2659 16 {
jozee@2659 17 cd $src
jozee@2659 18 ./configure --prefix=/usr --disable-sqlite
jozee@2659 19 make
jozee@2659 20 make DESTDIR=$PWD/_pkg install
jozee@2659 21 }
jozee@2659 22
jozee@2659 23 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2659 24 genpkg_rules()
jozee@2659 25 {
jozee@2659 26 mkdir -p $fs/usr/lib
jozee@2659 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
jozee@2659 28
jozee@2659 29 }