wok annotate gnomad2/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 932cd974e081
children 6b33f9da53d4
rev   line source
keupont@2884 1 # SliTaz package receipt.
keupont@2884 2
keupont@2884 3 PACKAGE="gnomad2"
Hans-G?nter@22860 4 VERSION="2.9.6"
keupont@2884 5 CATEGORY="multimedia"
Hans-G?nter@22860 6 SHORT_DESC="GTK+ music manager and swiss army knife for the Creative Labs NOMAD and Zen range."
keupont@2884 7 MAINTAINER="keupont@no-log.org"
pascal@15002 8 LICENSE="GPL2"
pascal@25460 9 WEB_SITE="https://gnomad2.sourceforge.net/"
Hans-G?nter@22860 10
keupont@2884 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
keupont@2884 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
keupont@2884 13
Hans-G?nter@22860 14 DEPENDS="dbus-glib freetype glibc gtk+ hal libid3tag
Hans-G?nter@22860 15 libmtp libnjb libusb-compat taglib"
Hans-G?nter@22860 16 BUILD_DEPENDS="glib-dev gtk+-dev hal-dev intltool libid3tag-dev libmtp-dev
Hans-G?nter@22860 17 libnjb-dev libusb-compat-dev taglib-dev"
Hans-G?nter@22860 18
pascal@24403 19 # What is the latest version available today?
pascal@24403 20 current_version()
pascal@24403 21 {
pascal@24403 22 wget -O - https://sourceforge.net/projects/gnomad2/files/gnomad2/ 2>/dev/null | \
pascal@24403 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 24 sed '/scope="row/!d;s|.*%20||;s|/.*||;q'
pascal@24403 25 }
pascal@24403 26
keupont@2884 27 # Rules to configure and make the package.
keupont@2884 28 compile_rules()
keupont@2884 29 {
Hans-G?nter@22860 30 ./configure &&
Hans-G?nter@22860 31 make &&
Hans-G?nter@22860 32 make install
keupont@2884 33 }
keupont@2884 34
keupont@2884 35 # Rules to gen a SliTaz package suitable for Tazpkg.
keupont@2884 36 genpkg_rules()
keupont@2884 37 {
keupont@2884 38 mkdir -p $fs/usr
Hans-G?nter@22860 39 cp -a $install/usr/bin $fs/usr
keupont@2884 40 }