wok-next view libshout/receipt @ rev 20684
Add libosinfo, osinfo-db-tools, osinfo-db
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 18 15:25:03 2018 +0300 (2018-05-18) |
parents | 757d032c55c7 |
children | a3c581bf52b8 |
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 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libshout)
29 copy @std
30 DEPENDS="openssl libogg libtheora libvorbis speex"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="libshout libogg-dev libtheora-dev libvorbis-dev \
35 openssl-dev speex-dev"
36 ;;
37 esac
38 }