wok-stable view mpc/receipt @ rev 5446

broadcom-wl: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 12:48:19 2010 +0200 (2010-05-05)
parents 22827ce7ab0e
children 9bf2c7a08c3d
line source
1 # SliTaz package receipt.
3 PACKAGE="mpc"
4 VERSION="0.19"
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.gz"
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 }