wok-stable annotate ncmpc/receipt @ rev 1423
Fix CATEGORY in receipts
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 26 09:21:16 2008 +0000 (2008-09-26) |
parents | |
children | 90a3c5374ebc |
rev | line source |
---|---|
paul@1377 | 1 # SliTaz package receipt. |
paul@1377 | 2 |
paul@1377 | 3 PACKAGE="ncmpc" |
paul@1377 | 4 VERSION="0.11.1" |
paul@1377 | 5 CATEGORY="multimedia" |
paul@1377 | 6 SHORT_DESC="A ncurses MPD client." |
paul@1377 | 7 MAINTAINER="paul@slitaz.org" |
paul@1377 | 8 DEPENDS="mpd" |
paul@1377 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@1377 | 10 WEB_SITE="http://hem.bredband.net/kaw/ncmpc/index.html" |
paul@1377 | 11 WGET_URL="http://hem.bredband.net/kaw/ncmpc/files/$TARBALL" |
paul@1377 | 12 |
paul@1377 | 13 # Rules to configure and make the package. |
paul@1377 | 14 compile_rules() |
paul@1377 | 15 { |
paul@1377 | 16 cd $src |
paul@1377 | 17 ./configure \ |
paul@1377 | 18 --enable-search-screen \ |
paul@1377 | 19 --enable-clock-screen \ |
paul@1377 | 20 --prefix=/usr --infodir=/usr/share/info \ |
paul@1377 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS |
paul@1377 | 22 make |
paul@1377 | 23 make DESTDIR=$PWD/_pkg install |
paul@1377 | 24 } |
paul@1377 | 25 |
paul@1377 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1377 | 27 genpkg_rules() |
paul@1377 | 28 { |
paul@1377 | 29 mkdir -p $fs/usr/share/ncmpc |
paul@1377 | 30 cp -a $_pkg/usr/bin $fs/usr |
paul@1377 | 31 cp -a $_pkg/usr/share/doc/$PACKAGE $fs/usr/share |
paul@1377 | 32 } |
paul@1377 | 33 |