PACKAGE="pysdm"
VERSION="0.4.1"
CATEGORY="system-tools"
SHORT_DESC="A Storage Device Manager via udev (and not fstab)."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://pysdm.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="pygtk"
BUILD_DEPENDS="python python-dev"

# Rules to configure and make the package.
compile_rules()
{

	cd $src
	sed -i 's/gksudo/subox/;s/Settings;//' data/pysdm.desktop
	./configure --prefix=/usr --infodir=/usr/share/info \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$DESTDIR install
}

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