SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "icecast"

# SliTaz package receipt.

PACKAGE="icecast"
VERSION="2.4.4"
CATEGORY="multimedia"
SHORT_DESC="An opensource alternative to shoutcast that supports mp3, ogg (vorbis/theora) and aac streaming"
MAINTAINER="devl547@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://icecast.org"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://downloads.xiph.org/releases/$PACKAGE/$TARBALL"

DEPENDS="libogg libtheora libvorbis libxml2 libxslt"
BUILD_DEPENDS="libogg-dev libtheora-dev libvorbis-dev libxml2-dev libxslt-dev"

# What is the latest version available today?
current_version()
{
    wget -O - 'https://gitlab.xiph.org/xiph/icecast-server/-/tags?sort=updated_desc' 2>/dev/null | \
    sed '/item-title/!d;s|.*">v||;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --prefix=/usr        \
        --sysconfdir=/etc    \
        --disable-yp        \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share

    cp -a $install/usr/bin            $fs/usr
    cp -a $install/etc            $fs
    cp -a $install/usr/share/icecast    $fs/usr/share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)