wok annotate pysdm/receipt @ rev 24428

updated cmus (2.8.0 -> 2.9.1)
author Hans-G?nter Theisgen
date Sat Feb 12 14:59:37 2022 +0100 (2022-02-12)
parents bf4a09ef1d2e
children 7dd01dedad38
rev   line source
pascal@15376 1 # SliTaz package receipt.
pascal@15376 2
pascal@11563 3 PACKAGE="pysdm"
pascal@11563 4 VERSION="0.4.1"
pascal@11563 5 CATEGORY="system-tools"
pascal@11563 6 SHORT_DESC="A Storage Device Manager via udev (and not fstab)."
pascal@11563 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15376 8 LICENSE="GPL2"
pascal@11563 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11563 10 WEB_SITE="http://pysdm.sourceforge.net/"
pascal@11563 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11563 12
pascal@11563 13 DEPENDS="pygtk"
pascal@11563 14 BUILD_DEPENDS="python python-dev"
pascal@11563 15
pascal@24396 16 # What is the latest version available today?
pascal@24396 17 current_version()
pascal@24396 18 {
pascal@24396 19 wget -O - https://sourceforge.net/projects/pysdm/files/pysdm/ 2>/dev/null | \
pascal@24396 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24396 21 sed '/scope="row/!d;/tar/!d;s|.*/pysdm-||;s|.tar.*||;q'
pascal@24396 22 }
pascal@24396 23
pascal@11563 24 # Rules to configure and make the package.
pascal@11563 25 compile_rules()
pascal@11563 26 {
pascal@11563 27
pascal@11563 28 cd $src
pascal@11563 29 sed -i 's/gksudo/subox/;s/Settings;//' data/pysdm.desktop
pascal@11563 30 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@11563 31 --mandir=/usr/share/man \
pascal@11563 32 $CONFIGURE_ARGS &&
pascal@11563 33 make &&
pascal@11563 34 make DESTDIR=$DESTDIR install
pascal@11563 35 }
pascal@11563 36
pascal@11563 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11563 38 genpkg_rules()
pascal@11563 39 {
pascal@15376 40 cp -a $install/usr $fs
pascal@11563 41 }