wok rev 11563

Add pysdm form wok-undigest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 15:19:21 2011 +0100 (2011-12-25)
parents 29e89ac02bf7
children af5c3f95656e
files pysdm/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pysdm/receipt	Sun Dec 25 15:19:21 2011 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +PACKAGE="pysdm"
     1.5 +VERSION="0.4.1"
     1.6 +CATEGORY="system-tools"
     1.7 +SHORT_DESC="A Storage Device Manager via udev (and not fstab)."
     1.8 +MAINTAINER="pascal.bellard@slitaz.org"
     1.9 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10 +WEB_SITE="http://pysdm.sourceforge.net/"
    1.11 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.12 +
    1.13 +DEPENDS="pygtk"
    1.14 +BUILD_DEPENDS="python python-dev"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +
    1.20 +	cd $src
    1.21 +	sed -i 's/gksudo/subox/;s/Settings;//' data/pysdm.desktop
    1.22 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.23 +		--mandir=/usr/share/man \
    1.24 +		$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $_pkg/usr $fs
    1.33 +}