wok-current view decibel/receipt @ rev 25504
Update some web_site / wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 05 09:28:51 2023 +0000 (23 months ago) |
parents | 8ea0030e77cb |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="decibel"
4 VERSION="1.08"
5 CATEGORY="multimedia"
6 SHORT_DESC="Decibel audio player for Gnome Desktop."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://decibel.fingelrest.net"
11 SOURCE="$PACKAGE-audio-player"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/uploads/Main/$TARBALL"
15 DEPENDS="dbus-python gst-python mutagen notify-python pygtk python"
16 BUILD_DEPENDS="findutils gettext"
17 # findutils is needed to install locale files
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/atest version/!d;s|.*<strong>||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 make prefix=/usr DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/$SOURCE $fs/usr/share
39 cp -a $install/usr/share/pixmaps $fs/usr/share
40 cp -a $install/usr/share/applications $fs/usr/share
41 }