wok-next diff icecast/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents 380ffe05937a
children 0ec6086e21d6
line diff
     1.1 --- a/icecast/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/icecast/receipt	Fri Mar 30 19:31:50 2018 +0300
     1.3 @@ -1,36 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="icecast"
     1.8  VERSION="2.3.3"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="An opensource alternative to shoutcast that supports mp3, ogg (vorbis/theora) and aac streaming"
    1.11 +SHORT_DESC="An opensource alternative to shoutcast that supports mp3, ogg \
    1.12 +(vorbis/theora) and aac streaming"
    1.13  MAINTAINER="devl547@gmail.com"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="http://www.icecast.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.icecast.org/"
    1.19  WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
    1.20  
    1.21 -DEPENDS="libxslt libxml2 libogg libvorbis libtheora"
    1.22 -BUILD_DEPENDS="libxslt-dev libxml2-dev libogg-dev libvorbis-dev libtheora-dev libogg libvorbis libtheora"
    1.23 +BUILD_DEPENDS="libxslt-dev libxml2-dev libogg-dev libvorbis-dev libtheora-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	cd $src
    1.29 +compile_rules() {
    1.30  	./configure \
    1.31 -		--prefix=/usr \
    1.32 -		--sysconfdir=/etc \
    1.33  		--disable-yp \
    1.34  		$CONFIGURE_ARGS &&
    1.35  	make -j2 &&
    1.36  	make DESTDIR=$DESTDIR install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr/share
    1.43 -	cp -a $install/usr/bin $fs/usr/
    1.44 -	cp -a $install/etc $fs/
    1.45 -	cp -a $install/usr/share/icecast $fs/usr/share
    1.46 +genpkg_rules() {
    1.47 +	copy @std
    1.48 +	DEPENDS="libxslt libxml2 libogg libvorbis libtheora"
    1.49  }