wok annotate ncmpc/receipt @ rev 10903
Add zbar
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 21 11:42:09 2011 +0200 (2011-07-21) |
parents | aa87f0f00813 |
children | fc077654c9ac |
rev | line source |
---|---|
paul@1377 | 1 # SliTaz package receipt. |
paul@1377 | 2 |
paul@1377 | 3 PACKAGE="ncmpc" |
slaxemulator@10204 | 4 VERSION="0.18" |
paul@1377 | 5 CATEGORY="multimedia" |
paul@1377 | 6 SHORT_DESC="A ncurses MPD client." |
paul@1377 | 7 MAINTAINER="paul@slitaz.org" |
pascal@2460 | 8 DEPENDS="mpd glib ncurses" |
slaxemulator@10881 | 9 BUILD_DEPENDS="pkg-config gtk+-dev ncurses-dev libmpdclient-dev" |
pascal@10615 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@1377 | 11 WEB_SITE="http://hem.bredband.net/kaw/ncmpc/index.html" |
pascal@10615 | 12 WGET_URL="$SF_MIRROR/musicpd/$PACKAGE/$VERSION/$TARBALL" |
jozee@4969 | 13 TAGS="music player" |
paul@1377 | 14 |
paul@1377 | 15 # Rules to configure and make the package. |
paul@1377 | 16 compile_rules() |
paul@1377 | 17 { |
paul@1377 | 18 cd $src |
paul@1377 | 19 ./configure \ |
paul@1377 | 20 --enable-search-screen \ |
paul@1377 | 21 --enable-clock-screen \ |
slaxemulator@10204 | 22 $CONFIGURE_ARGS && |
slaxemulator@10204 | 23 make && make install |
paul@1377 | 24 } |
paul@1377 | 25 |
paul@1377 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1377 | 27 genpkg_rules() |
paul@1377 | 28 { |
paul@1377 | 29 mkdir -p $fs/usr/share/ncmpc |
slaxemulator@10881 | 30 cp -a $install/usr/bin $fs/usr |
slaxemulator@10881 | 31 cp -a $install/usr/share/doc/$PACKAGE $fs/usr/share |
paul@1377 | 32 } |
paul@1377 | 33 |