wok-stable view ncmpc/receipt @ rev 5982
nut: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 13 21:34:30 2010 +0200 (2010-08-13) |
parents | 7d4197e5834d |
children | 8abbe2eaf39b |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncmpc"
4 VERSION="0.11.1"
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"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://hem.bredband.net/kaw/ncmpc/index.html"
12 WGET_URL="http://hem.bredband.net/kaw/ncmpc/files/$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 --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/ncmpc
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/doc/$PACKAGE $fs/usr/share
34 }