wok view pysdm/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents 080c1dff8494
children 29df00e1e19d
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="https://pysdm.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="pygtk"
14 BUILD_DEPENDS="python python-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/pysdm/files/pysdm/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;/tar/!d;s|.*/pysdm-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
28 cd $src
29 sed -i 's/gksudo/subox/;s/Settings;//' data/pysdm.desktop
30 ./configure --prefix=/usr --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/usr $fs
41 }