wok-6.x annotate ncmpc/receipt @ rev 9026
gtkperf: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 22:08:34 2011 +0100 (2011-03-03) |
parents | 7d4197e5834d |
children | 8abbe2eaf39b |
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" |
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 \ |
paul@1377 | 22 --prefix=/usr --infodir=/usr/share/info \ |
pascal@1441 | 23 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1441 | 24 make && |
paul@1377 | 25 make DESTDIR=$PWD/_pkg install |
paul@1377 | 26 } |
paul@1377 | 27 |
paul@1377 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1377 | 29 genpkg_rules() |
paul@1377 | 30 { |
paul@1377 | 31 mkdir -p $fs/usr/share/ncmpc |
paul@1377 | 32 cp -a $_pkg/usr/bin $fs/usr |
paul@1377 | 33 cp -a $_pkg/usr/share/doc/$PACKAGE $fs/usr/share |
paul@1377 | 34 } |
paul@1377 | 35 |