wok-6.x annotate ncmpc/receipt @ rev 10730
slitaz-mercurial-style: fix TARBALL
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 29 04:12:19 2011 +0200 (2011-05-29) |
parents | 66cd6cc75e1d |
children | faca836e066a |
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" |
pascal@10617 | 9 BUILD_DEPENDS="pkg-config gtk+-dev mpd-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 |
paul@1377 | 30 cp -a $_pkg/usr/bin $fs/usr |
paul@1377 | 31 cp -a $_pkg/usr/share/doc/$PACKAGE $fs/usr/share |
paul@1377 | 32 } |
paul@1377 | 33 |