wok-next annotate cmus/receipt @ rev 20024

Up tesseract-ocr (3.05.01)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 12:39:31 2017 +0200 (2017-10-22)
parents 380ffe05937a
children b84b01f3048e
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 }