wok view icecast/receipt @ rev 25440

Up codec2 (1.0.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 01 16:59:10 2022 +0000 (2022-09-01)
parents ad9008f821da
children a5e183d53960
line source
1 # SliTaz package receipt.
3 PACKAGE="icecast"
4 VERSION="2.4.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="An opensource alternative to shoutcast that supports mp3, ogg (vorbis/theora) and aac streaming"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://icecast.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
14 DEPENDS="libogg libtheora libvorbis libxml2 libxslt"
15 BUILD_DEPENDS="libogg-dev libtheora-dev libvorbis-dev libxml2-dev libxslt-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - 'https://gitlab.xiph.org/xiph/icecast-server/-/tags?sort=updated_desc' 2>/dev/null | \
21 sed '/item-title/!d;s|.*">v||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --disable-yp \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/etc $fs
43 cp -a $install/usr/share/icecast $fs/usr/share
44 }