wok-6.x annotate ncmpc/receipt @ rev 3551
scim-tables: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 23 08:56:37 2009 +0200 (2009-06-23) |
parents | 3d99ecce2d4b |
children | bee79018e13a |
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" |
pascal@2460 | 8 DEPENDS="mpd glib ncurses" |
pascal@1511 | 9 BUILD_DEPENDS="pkg-config gtk+-dev" |
paul@1377 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@1377 | 11 WEB_SITE="http://hem.bredband.net/kaw/ncmpc/index.html" |
paul@1377 | 12 WGET_URL="http://hem.bredband.net/kaw/ncmpc/files/$TARBALL" |
paul@1377 | 13 |
paul@1377 | 14 # Rules to configure and make the package. |
paul@1377 | 15 compile_rules() |
paul@1377 | 16 { |
paul@1377 | 17 cd $src |
paul@1377 | 18 ./configure \ |
paul@1377 | 19 --enable-search-screen \ |
paul@1377 | 20 --enable-clock-screen \ |
paul@1377 | 21 --prefix=/usr --infodir=/usr/share/info \ |
pascal@1441 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1441 | 23 make && |
paul@1377 | 24 make DESTDIR=$PWD/_pkg install |
paul@1377 | 25 } |
paul@1377 | 26 |
paul@1377 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1377 | 28 genpkg_rules() |
paul@1377 | 29 { |
paul@1377 | 30 mkdir -p $fs/usr/share/ncmpc |
paul@1377 | 31 cp -a $_pkg/usr/bin $fs/usr |
paul@1377 | 32 cp -a $_pkg/usr/share/doc/$PACKAGE $fs/usr/share |
paul@1377 | 33 } |
paul@1377 | 34 |