wok-6.x diff cmus/receipt @ rev 22861

updated gnu-efi (3.0.6 -> 3.0.11)
author Hans-G?nter Theisgen
date Thu Feb 20 17:09:58 2020 +0100 (2020-02-20)
parents 860933d3b00d
children 5ea0ce1cecc0
line diff
     1.1 --- a/cmus/receipt	Fri Jul 11 21:57:52 2014 +0000
     1.2 +++ b/cmus/receipt	Thu Feb 20 17:09:58 2020 +0100
     1.3 @@ -1,23 +1,38 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cmus"
     1.7 -VERSION="v2.5.0"
     1.8 +VERSION="2.8.0"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="Cmus is a small, fast and powerful console music player."
    1.11 +SHORT_DESC="A small, fast and powerful console music player."
    1.12  MAINTAINER="claudinei@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://cmus.sourceforge.net"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17 +WEB_SITE="https://cmus.github.io/"
    1.18  
    1.19 -DEPENDS="ncurses libmad libvorbis alsa-lib flac"
    1.20 -BUILD_DEPENDS="ncurses-dev libmad-dev libvorbis-dev alsa-lib-dev flac-dev"
    1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.22 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION/$TARBALL"
    1.23 +
    1.24 +DEPENDS="alsa-lib flac gcc83-lib-base libmad libvorbis ncurses"
    1.25 +BUILD_DEPENDS="alsa-lib-dev flac-dev gcc83 libmad-dev libvorbis-dev 
    1.26 +	ncurses-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	./configure prefix=/usr && 
    1.32 -	make && make install
    1.33 +	export	LDFLAGS="$LDFLAGS -latomic"
    1.34 +	
    1.35 +	./configure			\
    1.36 +		CC=gcc-83		\
    1.37 +		CXX=g++-83		\
    1.38 +		CONFIG_AO=n		\
    1.39 +		CONFIG_FFMPEG=n		\
    1.40 +		CONFIG_JACK=n		\
    1.41 +		CONFIG_OPUS=n		\
    1.42 +		CONFIG_PULSE=n		\
    1.43 +		CONFIG_ROAR=n		\
    1.44 +		CONFIG_SAMPLERATE=n	\
    1.45 +		prefix=/usr && 
    1.46 +	make &&
    1.47 +	make install
    1.48  }
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.51 @@ -26,7 +41,8 @@
    1.52  	mkdir -p $fs/usr/share
    1.53  	mkdir -p $fs/usr/bin
    1.54  	mkdir -p $fs/usr/lib
    1.55 -	cp -a $install/usr/bin/cmus* $fs/usr/bin
    1.56 -	cp -a $install/usr/lib/cmus $fs/usr/lib
    1.57 -	cp -a $install/usr/share/cmus $fs/usr/share
    1.58 +
    1.59 +	cp -a $install/usr/bin/cmus*	$fs/usr/bin
    1.60 +	cp -a $install/usr/lib/cmus	$fs/usr/lib
    1.61 +	cp -a $install/usr/share/cmus	$fs/usr/share
    1.62  }