wok-next view pysdm/receipt @ rev 20241

xplanet: use patches
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 06 22:53:21 2017 +0200 (2017-11-06)
parents bf4a09ef1d2e
children c022997c7a57
line source
1 # SliTaz package receipt.
3 PACKAGE="pysdm"
4 VERSION="0.4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="A Storage Device Manager via udev (and not fstab)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://pysdm.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="pygtk"
14 BUILD_DEPENDS="python python-dev gettext-tools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/gksudo/subox/;s/Settings;//' data/pysdm.desktop
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }