wok-4.x rev 12325

Add cmus
author Richard Dunbar <mojo@slitaz.org>
date Fri Sep 07 19:29:02 2012 +0000 (2012-09-07)
parents 0d59338cd981
children 2150e008d37f
files cmus/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cmus/receipt	Fri Sep 07 19:29:02 2012 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cmus"
     1.7 +VERSION="2.4.3"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="ncurses audio player"
    1.10 +MAINTAINER="mojo@slitaz.org"
    1.11 +WEB_SITE="http://cmus.sourceforge.net"
    1.12 +TARBALL="$PACKAGE-v$VERSION.tar.bz2"
    1.13 +#WGET_URL="ftp://ftp.heanet.ie/mirrors/sourceforge/c/project/cm/cmus/$TARBALL"
    1.14 +WGET_URL=$SF_MIRROR/$PACKAGE/$TARBALL
    1.15 +
    1.16 +
    1.17 +DEPENDS="alsa-lib libvorbis libogg libmad ncurses"
    1.18 +BUILD_DEPENDS="alsa-lib-dev libvorbis-dev libogg-dev libmad-dev flac-dev ncurses-dev faad2-dev ffmpeg-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure prefix=/usr CONFIG_PULSE=n 
    1.24 +         make && make install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +        mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
    1.31 +	cp -a $install/usr/bin         $fs/usr
    1.32 +	cp -a $install/usr/lib/cmus    $fs/usr/lib
    1.33 +	cp -a $install/usr/share/cmus  $fs/usr/share
    1.34 +        
    1.35 +}