wok-6.x rev 13350

Add: cmus (v2.4.3)
author Claudinei Pereira <claudinei@slitaz.org>
date Fri Sep 07 18:04:14 2012 -0300 (2012-09-07)
parents 473b2d729747
children 2f1b673c2701
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 18:04:14 2012 -0300
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cmus"
     1.7 +VERSION="v2.4.3"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Cmus is a small, fast and powerful console music player."
    1.10 +MAINTAINER="claudinei@slitaz.org"
    1.11 +WEB_SITE="http://cmus.sourceforge.net"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +DEPENDS="ncurses libmad libvorbis alsa-lib"
    1.16 +BUILD_DEPENDS="ncurses-dev libmad-dev libvorbis-dev alsa-lib-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	./configure prefix=/usr && 
    1.22 +	make && make install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/share
    1.29 +	mkdir -p $fs/usr/bin
    1.30 +	mkdir -p $fs/usr/lib
    1.31 +	cp -a $install/usr/bin/cmus* $fs/usr/bin
    1.32 +	cp -a $install/usr/lib/cmus $fs/usr/lib
    1.33 +	cp -a $install/usr/share/cmus $fs/usr/share
    1.34 +}