wok-6.x annotate ncmpc/receipt @ rev 12857
Up: tazpkg (5.0) Bunch of fixes, clean and improvment (but dont handle mulitarch)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 24 14:21:48 2012 +0200 (2012-05-24) |
parents | faca836e066a |
children | 408c87fa22ca |
rev | line source |
---|---|
paul@1377 | 1 # SliTaz package receipt. |
paul@1377 | 2 |
paul@1377 | 3 PACKAGE="ncmpc" |
paul@10910 | 4 VERSION="0.19" |
paul@1377 | 5 CATEGORY="multimedia" |
paul@1377 | 6 SHORT_DESC="A ncurses MPD client." |
paul@1377 | 7 MAINTAINER="paul@slitaz.org" |
paul@10910 | 8 DEPENDS="mpd glib ncurses libmpdclient" |
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 \ |
slaxemulator@10204 | 20 $CONFIGURE_ARGS && |
slaxemulator@10204 | 21 make && make install |
paul@1377 | 22 } |
paul@1377 | 23 |
paul@1377 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1377 | 25 genpkg_rules() |
paul@1377 | 26 { |
paul@1377 | 27 mkdir -p $fs/usr/share/ncmpc |
slaxemulator@10881 | 28 cp -a $install/usr/bin $fs/usr |
slaxemulator@10881 | 29 cp -a $install/usr/share/doc/$PACKAGE $fs/usr/share |
paul@1377 | 30 } |
paul@1377 | 31 |