wok-6.x annotate icecast/receipt @ rev 24439
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 13 18:01:32 2022 +0000 (2022-02-13) |
parents | a78610b2eb47 |
children | 544e47246b33 |
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" |
Hans-G?nter@22940 | 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 |
devl547@6038 | 17 # Rules to configure and make the package. |
devl547@6038 | 18 compile_rules() |
devl547@6038 | 19 { |
Hans-G?nter@22940 | 20 ./configure \ |
Hans-G?nter@22940 | 21 --prefix=/usr \ |
Hans-G?nter@22940 | 22 --sysconfdir=/etc \ |
Hans-G?nter@22940 | 23 --disable-yp \ |
devl547@6038 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@22940 | 25 make && |
slaxemulator@13085 | 26 make DESTDIR=$DESTDIR install |
devl547@6038 | 27 } |
devl547@6038 | 28 |
devl547@6038 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@6038 | 30 genpkg_rules() |
devl547@6038 | 31 { |
devl547@6038 | 32 mkdir -p $fs/usr/share |
Hans-G?nter@22940 | 33 |
Hans-G?nter@22940 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22940 | 35 cp -a $install/etc $fs |
Hans-G?nter@22940 | 36 cp -a $install/usr/share/icecast $fs/usr/share |
devl547@6038 | 37 } |