wok-current annotate icecast/receipt @ rev 25529

created recipe for neovim-0.8.3
author Hans-G?nter Theisgen
date Sat Feb 25 14:14:14 2023 +0100 (22 months ago)
parents ad9008f821da
children
rev   line source
devl547@6038 1 # SliTaz package receipt.
devl547@6038 2
devl547@6038 3 PACKAGE="icecast"
Hans-G?nter@22940 4 VERSION="2.4.4"
devl547@6038 5 CATEGORY="multimedia"
devl547@6038 6 SHORT_DESC="An opensource alternative to shoutcast that supports mp3, ogg (vorbis/theora) and aac streaming"
devl547@6038 7 MAINTAINER="devl547@gmail.com"
pascal@15000 8 LICENSE="GPL2"
pascal@25438 9 WEB_SITE="https://icecast.org"
Hans-G?nter@22940 10
devl547@6038 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20669 12 WGET_URL="https://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
devl547@6038 13
Hans-G?nter@22940 14 DEPENDS="libogg libtheora libvorbis libxml2 libxslt"
Hans-G?nter@22940 15 BUILD_DEPENDS="libogg-dev libtheora-dev libvorbis-dev libxml2-dev libxslt-dev"
pascal@15000 16
pascal@24540 17 # What is the latest version available today?
pascal@24540 18 current_version()
pascal@24540 19 {
pascal@24626 20 wget -O - 'https://gitlab.xiph.org/xiph/icecast-server/-/tags?sort=updated_desc' 2>/dev/null | \
pascal@24540 21 sed '/item-title/!d;s|.*">v||;s|<.*||;q'
pascal@24540 22 }
pascal@24540 23
devl547@6038 24 # Rules to configure and make the package.
devl547@6038 25 compile_rules()
devl547@6038 26 {
Hans-G?nter@22940 27 ./configure \
Hans-G?nter@22940 28 --prefix=/usr \
Hans-G?nter@22940 29 --sysconfdir=/etc \
Hans-G?nter@22940 30 --disable-yp \
devl547@6038 31 $CONFIGURE_ARGS &&
Hans-G?nter@22940 32 make &&
slaxemulator@13085 33 make DESTDIR=$DESTDIR install
devl547@6038 34 }
devl547@6038 35
devl547@6038 36 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@6038 37 genpkg_rules()
devl547@6038 38 {
devl547@6038 39 mkdir -p $fs/usr/share
Hans-G?nter@22940 40
Hans-G?nter@22940 41 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22940 42 cp -a $install/etc $fs
Hans-G?nter@22940 43 cp -a $install/usr/share/icecast $fs/usr/share
devl547@6038 44 }