wok-current view pysdm/receipt @ rev 25495

Up expat (2.5.0), CVE-2022-43680
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 10:14:28 2022 +0000 (23 months ago)
parents 080c1dff8494
children
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 }