wok-current view mpc/receipt @ rev 2939

Up: libgpg-error-* (1.7)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri May 08 00:11:57 2009 +0200 (2009-05-08)
parents
children e954083139e9
line source
1 # SliTaz package receipt.
3 PACKAGE="mpc"
4 VERSION="0.12.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="A command line tool to interface MPD."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="mpd"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.musicpd.org/mpc.shtml"
11 WGET_URL="http://musicpd.org/uploads/files/$TARBALL"
13 # Rules to configure and make the package.
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 }