wok diff pysdm/receipt @ rev 13708

Add mtdev
author Richard Dunbar <mojo@slitaz.org>
date Mon Dec 17 13:53:22 2012 +0000 (2012-12-17)
parents
children bf4a09ef1d2e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pysdm/receipt	Mon Dec 17 13:53:22 2012 +0000
     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 +}