wok-next diff libshout/receipt @ rev 19843

Up dbus, pcmciautils, opus-tools; add syslinux-slitaz-repack (to substitute syslinux), syslinux-slitaz-extra-repack (to substitute syslinux-extra).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Aug 23 17:19:53 2017 +0300 (2017-08-23)
parents 8d6f480bf664
children e6615350078d
line diff
     1.1 --- a/libshout/receipt	Sun Nov 10 17:13:06 2013 +0000
     1.2 +++ b/libshout/receipt	Wed Aug 23 17:19:53 2017 +0300
     1.3 @@ -1,29 +1,45 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libshout"
     1.8 -VERSION="2.2.2"
     1.9 +VERSION="2.4.1"
    1.10  CATEGORY="multimedia"
    1.11 -SHORT_DESC="Library for accessing a shoutcast/icecast server."
    1.12 +SHORT_DESC="Library for accessing a shoutcast/icecast server"
    1.13  MAINTAINER="slaxemulator@gmail.com"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="https://www.icecast.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.icecast.org/"
    1.19  WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
    1.20  
    1.21 -DEPENDS="libvorbis libtheora speex"
    1.22  BUILD_DEPENDS="libvorbis-dev libtheora-dev speex-dev libogg-dev"
    1.23 +BUILD_DEPENDS="libogg-dev libvorbis-dev libtheora-dev speex-dev openssl-dev"
    1.24 +SPLIT="libshout-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -	./configure $CONFIGURE_ARGS && make LDFLAGS+=-lspeex && make install
    1.31 +	sed -e 's/SSLeay_add_all_algorithms/OpenSSL_add_all_algorithms/g' -i src/tls.c
    1.32 +
    1.33 +	./configure \
    1.34 +		--sysconfdir=/etc \
    1.35 +		--localstatedir=/var \
    1.36 +		$CONFIGURE_ARGS &&
    1.37 +	make && make install
    1.38 +#	make LDFLAGS+=-lspeex && make install
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr/lib
    1.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46 +	case $PACKAGE in
    1.47 +		libshout)
    1.48 +			copy @std
    1.49 +			DEPENDS="libcrypto libogg libssl libtheora libvorbis speex"
    1.50 +			;;
    1.51 +		*-dev)
    1.52 +			copy @dev
    1.53 +			DEPENDS="libshout libogg-dev libtheora-dev libvorbis-dev \
    1.54 +			openssl-dev speex-dev"
    1.55 +			;;
    1.56 +	esac
    1.57  }
    1.58 -