wok-6.x annotate cmus/receipt @ rev 13498
Add libaio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 13 10:52:34 2012 +0200 (2012-10-13) |
parents | |
children | 140beba5e02a |
rev | line source |
---|---|
claudinei@13350 | 1 # SliTaz package receipt. |
claudinei@13350 | 2 |
claudinei@13350 | 3 PACKAGE="cmus" |
claudinei@13350 | 4 VERSION="v2.4.3" |
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 } |