wok-6.x view mpc/receipt @ rev 12015

Add linux-nbd & linux-aoe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 06 11:55:34 2012 +0100 (2012-03-06)
parents e954083139e9
children bb009a6ef036
line source
1 # SliTaz package receipt.
3 PACKAGE="mpc"
4 VERSION="0.20"
5 CATEGORY="multimedia"
6 SHORT_DESC="A command line tool to interface MPD."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="mpd libmpdclient"
9 BUILD_DEPENDS="libmpdclient-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.musicpd.org/mpc.shtml"
12 WGET_URL="$SF_MIRROR/musicpd/$PACKAGE/$VERSION/$TARBALL"
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/mpc
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share/doc/$PACKAGE $fs/usr/share
29 }