wok-next view libshout/receipt @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | a3c581bf52b8 |
children |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://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="$PACKAGE-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 }