wok-6.x view ncmpc/receipt @ rev 1526

glade3: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 08 21:20:37 2008 +0000 (2008-10-08)
parents 90a3c5374ebc
children 7d4197e5834d
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"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --enable-search-screen \
20 --enable-clock-screen \
21 --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/ncmpc
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/doc/$PACKAGE $fs/usr/share
33 }