wok-next annotate mpc/receipt @ rev 15855
New kernel config and huge receipt clean up
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 29 09:56:07 2014 +0100 (2014-01-29) |
parents | 9bf2c7a08c3d |
children | 1a0b3262dccf |
rev | line source |
---|---|
paul@1376 | 1 # SliTaz package receipt. |
paul@1376 | 2 |
paul@1376 | 3 PACKAGE="mpc" |
slaxemulator@7959 | 4 VERSION="0.20" |
paul@1376 | 5 CATEGORY="multimedia" |
paul@1376 | 6 SHORT_DESC="A command line tool to interface MPD." |
paul@1376 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL2" |
slaxemulator@7959 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@1376 | 10 WEB_SITE="http://www.musicpd.org/mpc.shtml" |
erjo@4757 | 11 WGET_URL="$SF_MIRROR/musicpd/$PACKAGE/$VERSION/$TARBALL" |
paul@1376 | 12 |
pascal@15583 | 13 DEPENDS="mpd libmpdclient" |
pascal@15583 | 14 BUILD_DEPENDS="libmpdclient-dev" |
pascal@15583 | 15 |
paul@1376 | 16 compile_rules() |
paul@1376 | 17 { |
paul@1376 | 18 cd $src |
paul@1376 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
paul@1376 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
paul@1376 | 21 make |
pascal@15583 | 22 make DESTDIR=$DESTDIR install |
paul@1376 | 23 } |
paul@1376 | 24 |
paul@1376 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1376 | 26 genpkg_rules() |
paul@1376 | 27 { |
paul@1376 | 28 mkdir -p $fs/usr/share/mpc |
pascal@15583 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15583 | 30 cp -a $install/usr/share/doc/$PACKAGE $fs/usr/share |
paul@1376 | 31 } |
paul@1376 | 32 |