SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libshout"

# SliTaz package receipt.

PACKAGE="libshout"
VERSION="2.4.5"
CATEGORY="multimedia"
SHORT_DESC="Library for accessing a shoutcast or icecast server."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="LGPL"
WEB_SITE="https://icecast.org/"

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

DEPENDS="libtheora libvorbis speex"
BUILD_DEPENDS="libogg-dev libtheora-dev libvorbis-dev speex-dev"

# What is the latest version available today?
current_version()
{
    wget -O - 'https://gitlab.xiph.org/xiph/icecast-libshout/-/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 $CONFIGURE_ARGS &&
    make LDFLAGS+=-lspeex &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)