wok-6.x annotate cmus/receipt @ rev 20225
grub: add ext4 patch (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 01 11:50:30 2018 +0100 (2018-03-01) |
parents | 380ffe05937a |
children | dac69754212f |
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 |
mojo@16825 | 13 DEPENDS="ncurses libmad libvorbis alsa-lib flac" |
mojo@16825 | 14 BUILD_DEPENDS="ncurses-dev libmad-dev libvorbis-dev alsa-lib-dev flac-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 } |