wok view ncmpc/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 408c87fa22ca
children 6e8b1bcb30e2
line source
1 # SliTaz package receipt.
3 PACKAGE="ncmpc"
4 VERSION="0.21"
5 CATEGORY="multimedia"
6 SHORT_DESC="A ncurses MPD client."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.musicpd.org/clients/ncmpc/"
11 WGET_URL="http://www.musicpd.org/download/ncmpc/0/$TARBALL"
12 TAGS="music player"
13 HOST_ARCH="i486 arm"
15 DEPENDS="mpd glib ncurses libmpdclient"
16 BUILD_DEPENDS="glib-dev ncurses-dev libmpdclient-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/ncmpc
30 cp -a $install/usr/bin $fs/usr
31 }