wok annotate mpc/receipt @ rev 5277
lzma: add --version support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 16 10:18:15 2010 +0200 (2010-04-16) |
parents | 22827ce7ab0e |
children | 9bf2c7a08c3d |
rev | line source |
---|---|
paul@1376 | 1 # SliTaz package receipt. |
paul@1376 | 2 |
paul@1376 | 3 PACKAGE="mpc" |
erjo@4757 | 4 VERSION="0.19" |
paul@1376 | 5 CATEGORY="multimedia" |
paul@1376 | 6 SHORT_DESC="A command line tool to interface MPD." |
paul@1376 | 7 MAINTAINER="paul@slitaz.org" |
erjo@4757 | 8 DEPENDS="mpd libmpdclient" |
erjo@4757 | 9 BUILD_DEPENDS="libmpdclient-dev" |
paul@1376 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@1376 | 11 WEB_SITE="http://www.musicpd.org/mpc.shtml" |
erjo@4757 | 12 WGET_URL="$SF_MIRROR/musicpd/$PACKAGE/$VERSION/$TARBALL" |
paul@1376 | 13 |
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 |