wok annotate cmus/receipt @ rev 15142
bmpanel2: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 11:41:58 2013 +0000 (2013-08-15) |
parents | 140beba5e02a |
children | 860933d3b00d |
rev | line source |
---|---|
claudinei@13350 | 1 # SliTaz package receipt. |
claudinei@13350 | 2 |
claudinei@13350 | 3 PACKAGE="cmus" |
claudinei@13958 | 4 VERSION="v2.5.0" |
claudinei@13350 | 5 CATEGORY="multimedia" |
claudinei@13350 | 6 SHORT_DESC="Cmus is a small, fast and powerful console music player." |
claudinei@13350 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
claudinei@13350 | 9 WEB_SITE="http://cmus.sourceforge.net" |
claudinei@13350 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
claudinei@13350 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
claudinei@13350 | 12 |
claudinei@13350 | 13 DEPENDS="ncurses libmad libvorbis alsa-lib" |
claudinei@13350 | 14 BUILD_DEPENDS="ncurses-dev libmad-dev libvorbis-dev alsa-lib-dev" |
claudinei@13350 | 15 |
claudinei@13350 | 16 # Rules to configure and make the package. |
claudinei@13350 | 17 compile_rules() |
claudinei@13350 | 18 { |
claudinei@13350 | 19 ./configure prefix=/usr && |
claudinei@13350 | 20 make && make install |
claudinei@13350 | 21 } |
claudinei@13350 | 22 |
claudinei@13350 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@13350 | 24 genpkg_rules() |
claudinei@13350 | 25 { |
claudinei@13350 | 26 mkdir -p $fs/usr/share |
claudinei@13350 | 27 mkdir -p $fs/usr/bin |
claudinei@13350 | 28 mkdir -p $fs/usr/lib |
claudinei@13350 | 29 cp -a $install/usr/bin/cmus* $fs/usr/bin |
claudinei@13350 | 30 cp -a $install/usr/lib/cmus $fs/usr/lib |
claudinei@13350 | 31 cp -a $install/usr/share/cmus $fs/usr/share |
claudinei@13350 | 32 } |