wok-6.x view pysdm/receipt @ rev 20299

Up hp15c (4.0.00)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 03 15:14:01 2018 +0200 (2018-05-03)
parents d3b60b8cbf14
children 080c1dff8494
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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
20 cd $src
21 sed -i 's/gksudo/subox/;s/Settings;//' data/pysdm.desktop
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }