wok-next view mpc/receipt @ rev 8208

imported patch toolchain/perl-core.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
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 }