wok-stable annotate mpc/receipt @ rev 1630

Up tazpkg (2.4.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 23 20:29:40 2008 +0000 (2008-10-23)
parents
children e954083139e9
rev   line source
paul@1376 1 # SliTaz package receipt.
paul@1376 2
paul@1376 3 PACKAGE="mpc"
paul@1376 4 VERSION="0.12.1"
paul@1376 5 CATEGORY="multimedia"
paul@1376 6 SHORT_DESC="A command line tool to interface MPD."
paul@1376 7 MAINTAINER="paul@slitaz.org"
paul@1376 8 DEPENDS="mpd"
paul@1376 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@1376 10 WEB_SITE="http://www.musicpd.org/mpc.shtml"
paul@1376 11 WGET_URL="http://musicpd.org/uploads/files/$TARBALL"
paul@1376 12
paul@1376 13 # Rules to configure and make the package.
paul@1376 14 compile_rules()
paul@1376 15 {
paul@1376 16 cd $src
paul@1376 17 ./configure --prefix=/usr --infodir=/usr/share/info \
paul@1376 18 --mandir=/usr/share/man $CONFIGURE_ARGS
paul@1376 19 make
paul@1376 20 make DESTDIR=$PWD/_pkg install
paul@1376 21 }
paul@1376 22
paul@1376 23 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@1376 24 genpkg_rules()
paul@1376 25 {
paul@1376 26 mkdir -p $fs/usr/share/mpc
paul@1376 27 cp -a $_pkg/usr/bin $fs/usr
paul@1376 28 cp -a $_pkg/usr/share/doc/$PACKAGE $fs/usr/share
paul@1376 29 }
paul@1376 30