wok view shell-fm/receipt @ rev 24442
created recipe for firefox-official-da
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 14 07:26:07 2022 +0100 (2022-02-14) |
parents | 20661c276bcf |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="shell-fm"
4 VERSION="0.8"
5 CATEGORY="multimedia"
6 SHORT_DESC="console based player for the streams provided by Last.FM"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://github.com/jkramer/shell-fm"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="https://github.com/jkramer/shell-fm/tarball/v$VERSION"
13 DEPENDS="libmad libao taglib zlib"
14 BUILD_DEPENDS="libmad-dev libao-dev libao wget pkg-config"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }