wok-next view libshout/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 8d6f480bf664 |
children | e6615350078d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libshout"
4 VERSION="2.4.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Library for accessing a shoutcast/icecast server"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.icecast.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libvorbis-dev libtheora-dev speex-dev libogg-dev"
15 BUILD_DEPENDS="libogg-dev libvorbis-dev libtheora-dev speex-dev openssl-dev"
16 SPLIT="libshout-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -e 's/SSLeay_add_all_algorithms/OpenSSL_add_all_algorithms/g' -i src/tls.c
23 ./configure \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 $CONFIGURE_ARGS &&
27 make && make install
28 # make LDFLAGS+=-lspeex && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 libshout)
36 copy @std
37 DEPENDS="libcrypto libogg libssl libtheora libvorbis speex"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libshout libogg-dev libtheora-dev libvorbis-dev \
42 openssl-dev speex-dev"
43 ;;
44 esac
45 }