wok-next annotate libshout/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents a3c581bf52b8
children
rev   line source
al@19829 1 # SliTaz package receipt v2.
slaxemulator@8835 2
slaxemulator@8835 3 PACKAGE="libshout"
al@19829 4 VERSION="2.4.1"
slaxemulator@8835 5 CATEGORY="multimedia"
al@19829 6 SHORT_DESC="Library for accessing a shoutcast/icecast server"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15482 8 LICENSE="GPL2"
al@20906 9 WEB_SITE="https://icecast.org/"
al@19829 10
slaxemulator@8835 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@8835 12 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
slaxemulator@8835 13
al@19829 14 BUILD_DEPENDS="libogg-dev libvorbis-dev libtheora-dev speex-dev openssl-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@15482 16
al@20534 17 compile_rules() {
al@19829 18 sed -e 's/SSLeay_add_all_algorithms/OpenSSL_add_all_algorithms/g' -i src/tls.c
al@19829 19
al@20534 20 ./configure $CONFIGURE_ARGS &&
al@20595 21 fix libtool &&
al@20534 22 make &&
al@20534 23 make install
slaxemulator@8835 24 }
slaxemulator@8835 25
al@20534 26 genpkg_rules() {
al@19829 27 case $PACKAGE in
al@19829 28 libshout)
al@19829 29 copy @std
al@20453 30 DEPENDS="openssl libogg libtheora libvorbis speex"
al@19829 31 ;;
al@19829 32 *-dev)
al@19829 33 copy @dev
al@19829 34 DEPENDS="libshout libogg-dev libtheora-dev libvorbis-dev \
al@19829 35 openssl-dev speex-dev"
al@19829 36 ;;
al@19829 37 esac
slaxemulator@8835 38 }