wok view icecast/receipt @ rev 24651
updated i2c-tools and i2c-tools-dev (4.1 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 17:14:42 2022 +0100 (2022-03-10) |
parents | 544e47246b33 |
children | 8ea0030e77cb |
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 }