# SliTaz package receipt.

PACKAGE="wxdfast"
VERSION="0.6.0"
CATEGORY="network"
SHORT_DESC="Download Manager."
MAINTAINER="erjo@slitaz.org"
DEPENDS="wxWidgets xorg-libXdamage xorg-libXxf86vm"
BUILD_DEPENDS="wxWidgets-dev"
TARBALL="${PACKAGE}_${VERSION}.tar.gz"
WEB_SITE="http://dfast.sourceforge.net/index.html"
WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/dfast/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	
	cd $src
	./configure --prefix=/usr --infodir=/usr/share/info \
	--mandir=/usr/share/man $CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr \
	 $fs/usr/share \
	 $fs/usr/share/locale
	
	cp -a $_pkg/usr/bin $fs/usr
	cp -a $_pkg/usr/share/wxdfast $fs/usr/share
	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
	cp -a $_pkg/usr/share/applications $fs/usr/share

}