wok-next view cmus/receipt @ rev 17640

Up: git 2.3.0
author Alexander Medvedev <devl547@gmail.com>
date Sat Feb 14 21:16:01 2015 +0000 (2015-02-14)
parents 380ffe05937a
children b84b01f3048e
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 flac"
14 BUILD_DEPENDS="ncurses-dev libmad-dev libvorbis-dev alsa-lib-dev flac-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 }