# SliTaz package receipt.

PACKAGE="libspectrum"
VERSION="1.0.0"
CATEGORY="misc"
SHORT_DESC="ZX Spectrum emulator support library"
MAINTAINER="slaxemulator@gmail.com"
DEPENDS="zlib libgcrypt glib audiofile"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://fuse-emulator.sourceforge.net/libspectrum.php"
WGET_URL="$SF_MIRROR/fuse-emulator/$TARBALL"

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