wok-6.x view libshout/receipt @ rev 24776

jack1: added build dependency gcc83
author Hans-G?nter Theisgen
date Sat Mar 19 17:48:51 2022 +0100 (2022-03-19)
parents fa7a5e40934a
children 034e033a52cf
line source
1 # SliTaz package receipt.
3 PACKAGE="libshout"
4 VERSION="2.4.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="Library for accessing a shoutcast or icecast server."
7 MAINTAINER="slaxemulator@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="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 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }