# SliTaz package receipt.

PACKAGE="fluidsynth"
VERSION="1.1.3"
CATEGORY="multimedia"
MAINTAINER="jozee@slitaz.org"
SHORT_DESC="A real-time software synthesizer based on the SoundFont 2 specifications."
WEB_SITE="http://www.fluidsynth.org/"
DEPENDS="glib jack-audio-connection-kit ladspa"
BUILD_DEPENDS="glib-dev jack-audio-connection-kit-dev ladspa-dev pkg-config"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="synthesizer audio multimedia"

# Rules to configure and make the package.

compile_rules() {
  cd $src
  ./configure --prefix=/usr --enable-ladspa $CONFIGURE_ARGS &&
  make &&
  make DESTDIR=$DESTDIR install
}
	
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib 
	cp -a $_pkg/usr/bin $fs/usr
	cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
	
}