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