wok-6.x view ncmpc/receipt @ rev 9026
gtkperf: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 22:08:34 2011 +0100 (2011-03-03) |
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 }