# SliTaz package receipt.

PACKAGE="imagination"
VERSION="1.0"
CATEGORY="graphics"
SHORT_DESC="lightweight and simple GTK+ DVD slideshow maker"
MAINTAINER="jozee@slitaz.org"
DEPENDS="gtk+ ffmpeg"
BUILD_DEPENDS="intltool ffmpeg"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://imagination.sourceforge.net/" 
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="slideshow photo"


# Rules to configure and make the package.
compile_rules()
{
   	cd $src
	./configure --prefix=/usr $CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$DESTDIR install
	
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps
	cp -a $_pkg/usr/bin $fs/usr
	cp -a $_pkg/usr/lib/$PACKAGE/*.so $fs/usr/lib/$PACKAGE
	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
	cp -a $_pkg/usr/share/icons/hicolor/16x16/apps/* $fs/usr/share/pixmaps
	
}