wok-current annotate mpc/receipt @ rev 13206
fail2ban: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 06 14:55:22 2012 +0200 (2012-08-06) |
parents | e954083139e9 |
children | bb009a6ef036 |
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" |
erjo@4757 | 8 DEPENDS="mpd libmpdclient" |
erjo@4757 | 9 BUILD_DEPENDS="libmpdclient-dev" |
slaxemulator@7959 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 |