wok-next view libshout/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents e6615350078d
children 5841522533ec
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="libogg-dev libvorbis-dev libtheora-dev speex-dev openssl-dev"
15 SPLIT="libshout-dev"
17 compile_rules() {
18 sed -e 's/SSLeay_add_all_algorithms/OpenSSL_add_all_algorithms/g' -i src/tls.c
20 ./configure $CONFIGURE_ARGS &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libshout)
28 copy @std
29 DEPENDS="openssl libogg libtheora libvorbis speex"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="libshout libogg-dev libtheora-dev libvorbis-dev \
34 openssl-dev speex-dev"
35 ;;
36 esac
37 }