wok annotate pysdm/receipt @ rev 14802
dev86: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 16 10:22:13 2013 +0200 (2013-07-16) |
parents | |
children | bf4a09ef1d2e |
rev | line source |
---|---|
pascal@11563 | 1 PACKAGE="pysdm" |
pascal@11563 | 2 VERSION="0.4.1" |
pascal@11563 | 3 CATEGORY="system-tools" |
pascal@11563 | 4 SHORT_DESC="A Storage Device Manager via udev (and not fstab)." |
pascal@11563 | 5 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11563 | 6 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11563 | 7 WEB_SITE="http://pysdm.sourceforge.net/" |
pascal@11563 | 8 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11563 | 9 |
pascal@11563 | 10 DEPENDS="pygtk" |
pascal@11563 | 11 BUILD_DEPENDS="python python-dev" |
pascal@11563 | 12 |
pascal@11563 | 13 # Rules to configure and make the package. |
pascal@11563 | 14 compile_rules() |
pascal@11563 | 15 { |
pascal@11563 | 16 |
pascal@11563 | 17 cd $src |
pascal@11563 | 18 sed -i 's/gksudo/subox/;s/Settings;//' data/pysdm.desktop |
pascal@11563 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@11563 | 20 --mandir=/usr/share/man \ |
pascal@11563 | 21 $CONFIGURE_ARGS && |
pascal@11563 | 22 make && |
pascal@11563 | 23 make DESTDIR=$DESTDIR install |
pascal@11563 | 24 } |
pascal@11563 | 25 |
pascal@11563 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11563 | 27 genpkg_rules() |
pascal@11563 | 28 { |
pascal@11563 | 29 cp -a $_pkg/usr $fs |
pascal@11563 | 30 } |