# SliTaz package receipt.

PACKAGE="libmodplug"
VERSION="0.8.8.1"
CATEGORY="multimedia"
SHORT_DESC="A MOD playing library"
MAINTAINER="jozee@slitaz.org"
DEPENDS="gcc-lib-base"
BUILD_DEPENDS="gcc-lib-base"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://modplug-xmms.sourceforge.net/" 
WGET_URL="http://downloads.sf.net/sourceforge/modplug-xmms/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr $CONFIGURE_ARGS
	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

}