wok-next view libshout/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents fb478984fbc8
children 757d032c55c7
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="openssl libogg 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 }