wok-4.x view mpc/receipt @ rev 12337
Wrote the package name in TARBALL rather than using PACKAGE to replace it - Thanks dom96
author | Brenton Scott <admin@trixarian.net> |
---|---|
date | Mon Sep 24 09:08:43 2012 +0200 (2012-09-24) |
parents | e954083139e9 |
children |
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 }