wok diff cmus/receipt @ rev 13818

tazbug-website: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 06 18:21:06 2013 +0100 (2013-01-06)
parents
children 140beba5e02a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cmus/receipt	Sun Jan 06 18:21:06 2013 +0100
     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 +}