# SliTaz package receipt.

PACKAGE="comix"
VERSION="4.0.4"
CATEGORY="graphics"
SHORT_DESC="Comix is animage viewer, specifically designed to handle comic books."
MAINTAINER="mallory@skyrock.com"
DEPENDS="python pygtk python-pil rar"
BUILD_DEPENDS="python pygtk-dev pygtk python-pil unrar"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://comix.sourceforge.net"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="viewer comic"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	mkdir -p _pkg/usr
	python install.py --no-mime --dir $PWD/_pkg/usr install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $_pkg/usr/* $fs/usr/
}