wok annotate cmus/receipt @ rev 14449
Up: dwm (6.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Apr 27 02:46:31 2013 +0200 (2013-04-27) |
parents | f7eb3933f4e8 |
children | 380ffe05937a |
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" |
claudinei@13350 | 8 WEB_SITE="http://cmus.sourceforge.net" |
claudinei@13350 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
claudinei@13350 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
claudinei@13350 | 11 |
claudinei@13350 | 12 DEPENDS="ncurses libmad libvorbis alsa-lib" |
claudinei@13350 | 13 BUILD_DEPENDS="ncurses-dev libmad-dev libvorbis-dev alsa-lib-dev" |
claudinei@13350 | 14 |
claudinei@13350 | 15 # Rules to configure and make the package. |
claudinei@13350 | 16 compile_rules() |
claudinei@13350 | 17 { |
claudinei@13350 | 18 ./configure prefix=/usr && |
claudinei@13350 | 19 make && make install |
claudinei@13350 | 20 } |
claudinei@13350 | 21 |
claudinei@13350 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@13350 | 23 genpkg_rules() |
claudinei@13350 | 24 { |
claudinei@13350 | 25 mkdir -p $fs/usr/share |
claudinei@13350 | 26 mkdir -p $fs/usr/bin |
claudinei@13350 | 27 mkdir -p $fs/usr/lib |
claudinei@13350 | 28 cp -a $install/usr/bin/cmus* $fs/usr/bin |
claudinei@13350 | 29 cp -a $install/usr/lib/cmus $fs/usr/lib |
claudinei@13350 | 30 cp -a $install/usr/share/cmus $fs/usr/share |
claudinei@13350 | 31 } |