wok view orpheus/receipt @ rev 25690

mmv: inserted current_version()
author Hans-G?nter Theisgen
date Mon Apr 15 15:20:24 2024 +0100 (7 weeks ago)
parents 505d1daeed6c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="orpheus"
4 VERSION="1.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="Ncurses based audio player"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SUGGESTED="mpg123"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://web.archive.org/web/20180602005123/http://thekonst.net/en/orpheus"
12 WGET_URL="http://ftp.uni-kl.de/pub/linux/gentoo/distfiles/4c/$TARBALL"
13 TAGS="audio sound music player"
15 DEPENDS="ncurses libvorbis libogg libxml2 zlib"
16 BUILD_DEPENDS="autoconf automake libvorbis-dev libogg-dev ncurses-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed '/orpheus/!d;s|.*orpheus-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -logg"
29 unset CFLAGS CXXFLAGS
30 ./configure 2>&1 | grep -v /config.rpath &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }