wok-6.x annotate libshout/receipt @ rev 25107
Up open-iscsi (2.0.873)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 17:23:49 2022 +0000 (2022-06-22) |
parents | 034e033a52cf |
children |
rev | line source |
---|---|
slaxemulator@8835 | 1 # SliTaz package receipt. |
slaxemulator@8835 | 2 |
slaxemulator@8835 | 3 PACKAGE="libshout" |
Hans-G?nter@24826 | 4 VERSION="2.4.5" |
slaxemulator@8835 | 5 CATEGORY="multimedia" |
Hans-G?nter@21297 | 6 SHORT_DESC="Library for accessing a shoutcast or icecast server." |
slaxemulator@8835 | 7 MAINTAINER="slaxemulator@gmail.com" |
Hans-G?nter@24826 | 8 LICENSE="LGPL" |
pascal@21302 | 9 WEB_SITE="https://icecast.org/" |
Hans-G?nter@21297 | 10 |
slaxemulator@8835 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24828 | 12 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL" |
slaxemulator@8835 | 13 |
Hans-G?nter@21297 | 14 DEPENDS="libtheora libvorbis speex" |
Hans-G?nter@21297 | 15 BUILD_DEPENDS="libogg-dev libtheora-dev libvorbis-dev speex-dev" |
pascal@15482 | 16 |
pascal@24540 | 17 # What is the latest version available today? |
pascal@24540 | 18 current_version() |
pascal@24540 | 19 { |
pascal@24540 | 20 wget -O - 'https://gitlab.xiph.org/xiph/icecast-libshout/-/tags?sort=updated_desc' 2>/dev/null | \ |
pascal@24540 | 21 sed '/item-title/!d;s|.*">v||;s|<.*||;q' |
pascal@24540 | 22 } |
pascal@24540 | 23 |
slaxemulator@8835 | 24 # Rules to configure and make the package. |
slaxemulator@8835 | 25 compile_rules() |
slaxemulator@8835 | 26 { |
Hans-G?nter@21297 | 27 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21297 | 28 make LDFLAGS+=-lspeex && |
Hans-G?nter@21297 | 29 make install |
slaxemulator@8835 | 30 } |
slaxemulator@8835 | 31 |
slaxemulator@8835 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8835 | 33 genpkg_rules() |
slaxemulator@8835 | 34 { |
Hans-G?nter@24826 | 35 cook_copy_files *.so* |
slaxemulator@8835 | 36 } |