wok view libshout/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 034e033a52cf
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libshout"
4 VERSION="2.4.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="Library for accessing a shoutcast or icecast server."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL"
9 WEB_SITE="https://icecast.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
14 DEPENDS="libtheora libvorbis speex"
15 BUILD_DEPENDS="libogg-dev libtheora-dev libvorbis-dev speex-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - 'https://gitlab.xiph.org/xiph/icecast-libshout/-/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 $CONFIGURE_ARGS &&
28 make LDFLAGS+=-lspeex &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_files *.so*
36 }