wok-next annotate mpc/receipt @ rev 11849
busybox, uclibc-cross-compiler-i486: update bdeps again....
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 09:08:44 2012 +0100 (2012-02-27) |
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 |