wok view cmus/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 380ffe05937a
children
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 }