wok view ncmpc/receipt @ rev 10772

Trying to make a tazdev-like receip with source from slitaz-dev-tools, in order to get yaff cooked properly
author Babaorum
date Tue May 31 21:49:58 2011 +0100 (2011-05-31)
parents 66cd6cc75e1d
children faca836e066a
line source
1 # SliTaz package receipt.
3 PACKAGE="ncmpc"
4 VERSION="0.18"
5 CATEGORY="multimedia"
6 SHORT_DESC="A ncurses MPD client."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="mpd glib ncurses"
9 BUILD_DEPENDS="pkg-config gtk+-dev mpd-dev ncurses-dev libmpdclient-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://hem.bredband.net/kaw/ncmpc/index.html"
12 WGET_URL="$SF_MIRROR/musicpd/$PACKAGE/$VERSION/$TARBALL"
13 TAGS="music player"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --enable-search-screen \
21 --enable-clock-screen \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/ncmpc
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/doc/$PACKAGE $fs/usr/share
32 }