wok-next view cmus/receipt @ rev 15362

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 02 13:07:29 2013 +0000 (2013-10-02)
parents 140beba5e02a
children 860933d3b00d
line source
1 # SliTaz package receipt.
3 PACKAGE="cmus"
4 VERSION="v2.5.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Cmus is a small, fast and powerful console music player."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://cmus.sourceforge.net"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="ncurses libmad libvorbis alsa-lib"
14 BUILD_DEPENDS="ncurses-dev libmad-dev libvorbis-dev alsa-lib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure prefix=/usr &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 mkdir -p $fs/usr/bin
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin/cmus* $fs/usr/bin
30 cp -a $install/usr/lib/cmus $fs/usr/lib
31 cp -a $install/usr/share/cmus $fs/usr/share
32 }