wok annotate decibel/receipt @ rev 25317
updated soundtouch and soundtouch-dev (2.1.2 -> 2.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 21 07:14:01 2022 +0100 (2022-07-21) |
parents | 1bf2e81fd62f |
children | 8ea0030e77cb |
rev | line source |
---|---|
slaxemulator@7369 | 1 # SliTaz package receipt. |
slaxemulator@7369 | 2 |
slaxemulator@7369 | 3 PACKAGE="decibel" |
Hans-G?nter@22643 | 4 VERSION="1.08" |
slaxemulator@7369 | 5 CATEGORY="multimedia" |
slaxemulator@7369 | 6 SHORT_DESC="Decibel audio player for Gnome Desktop." |
slaxemulator@7369 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15579 | 8 LICENSE="GPL2" |
Hans-G?nter@22643 | 9 WEB_SITE="https://decibel.fingelrest.net/" |
Hans-G?nter@22643 | 10 |
slaxemulator@7369 | 11 SOURCE="$PACKAGE-audio-player" |
slaxemulator@7369 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@22643 | 13 WGET_URL="${WEB_SITE}uploads/Main/$TARBALL" |
slaxemulator@7369 | 14 |
Hans-G?nter@22643 | 15 DEPENDS="dbus-python gst-python mutagen notify-python pygtk python" |
Hans-G?nter@22643 | 16 BUILD_DEPENDS="findutils gettext" |
Hans-G?nter@22643 | 17 # findutils is needed to install locale files |
pascal@15579 | 18 |
pascal@24902 | 19 # What is the latest version available today? |
pascal@24902 | 20 current_version() |
pascal@24902 | 21 { |
pascal@24902 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24902 | 23 sed '/atest version/!d;s|.*<strong>||;s|<.*||;q' |
pascal@24902 | 24 } |
pascal@24902 | 25 |
slaxemulator@7369 | 26 # Rules to configure and make the package. |
slaxemulator@7369 | 27 compile_rules() |
slaxemulator@7369 | 28 { |
slaxemulator@10827 | 29 make prefix=/usr DESTDIR=$DESTDIR install |
slaxemulator@7369 | 30 } |
slaxemulator@7369 | 31 |
slaxemulator@7369 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7369 | 33 genpkg_rules() |
slaxemulator@7369 | 34 { |
slaxemulator@7369 | 35 mkdir -p $fs/usr/share |
Hans-G?nter@22643 | 36 |
Hans-G?nter@22643 | 37 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22643 | 38 cp -a $install/usr/share/$SOURCE $fs/usr/share |
Hans-G?nter@22643 | 39 cp -a $install/usr/share/pixmaps $fs/usr/share |
Hans-G?nter@22643 | 40 cp -a $install/usr/share/applications $fs/usr/share |
slaxemulator@7369 | 41 } |