wok-6.x view cmus/receipt @ rev 14507
Add get-src2pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 14 07:26:31 2013 +0200 (2013-05-14) |
parents | f7eb3933f4e8 |
children | 380ffe05937a |
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 WEB_SITE="http://cmus.sourceforge.net"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="ncurses libmad libvorbis alsa-lib"
13 BUILD_DEPENDS="ncurses-dev libmad-dev libvorbis-dev alsa-lib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure prefix=/usr &&
19 make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 mkdir -p $fs/usr/bin
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/bin/cmus* $fs/usr/bin
29 cp -a $install/usr/lib/cmus $fs/usr/lib
30 cp -a $install/usr/share/cmus $fs/usr/share
31 }