wok-current view decibel/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 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 }