wok-current view icecast/receipt @ rev 25642

Bump linux to 4.19.305, add linux-pae-ipv6
author Stanislas Leduc <shann@slitaz.org>
date Wed Jan 17 12:05:22 2024 +0000 (11 months ago)
parents ad9008f821da
children
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 }