wok-current view ncmpc/receipt @ rev 7854

ruby: package with shared library, develop required.
author Liu Peng <rocky@slitaz.org>
date Wed Dec 29 08:15:41 2010 +0000 (2010-12-29)
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 }