wok annotate ncmpc/receipt @ rev 10204
Up: ncmpc to 0.18.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 23:11:22 2011 +0000 (2011-05-20) |
parents | bee79018e13a |
children | c978830e9a09 |
rev | line source |
---|---|
paul@1377 | 1 # SliTaz package receipt. |
paul@1377 | 2 |
paul@1377 | 3 PACKAGE="ncmpc" |
slaxemulator@10204 | 4 VERSION="0.18" |
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" |
jozee@4969 | 13 TAGS="music player" |
paul@1377 | 14 |
paul@1377 | 15 # Rules to configure and make the package. |
paul@1377 | 16 compile_rules() |
paul@1377 | 17 { |
paul@1377 | 18 cd $src |
paul@1377 | 19 ./configure \ |
paul@1377 | 20 --enable-search-screen \ |
paul@1377 | 21 --enable-clock-screen \ |
slaxemulator@10204 | 22 $CONFIGURE_ARGS && |
slaxemulator@10204 | 23 make && make 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 |