wok-next annotate libshout/receipt @ rev 20766
childsplay: up (3.3); tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 04:36:32 2018 +0300 (2018-06-06) |
parents | 757d032c55c7 |
children | a3c581bf52b8 |
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" |
slaxemulator@8835 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15482 | 8 LICENSE="GPL2" |
al@19829 | 9 WEB_SITE="https://www.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@19829 | 15 SPLIT="libshout-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 } |