# HG changeset patch # User Rohit Joshi # Date 1240077296 0 # Node ID 924665453a121876470e986f3e887f482622fc14 # Parent 248560d462c386e2b10ef3ff74a07819b25655f5 Add libsndfile diff -r 248560d462c3 -r 924665453a12 libsndfile/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsndfile/receipt Sat Apr 18 17:54:56 2009 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libsndfile" +VERSION="1.0.19" +CATEGORY="multimedia" +SHORT_DESC="A C library for reading and writing files containing sampled sound" +MAINTAINER="jozee@slitaz.org" +DEPENDS="alsa-lib flac" +BUILD_DEPENDS="alsa-lib-dev flac-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.mega-nerd.com/libsndfile/" +WGET_URL="$WEBSITE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --disable-sqlite + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + +}