wok-next annotate shell-fm/receipt @ rev 2871

Add:shell.fm (last.fm cli player)
author Rohit Joshi <jozee@slitaz.org>
date Sat May 02 20:54:33 2009 +0000 (2009-05-02)
parents
children 41b67c175e37
rev   line source
jozee@2871 1 # SliTaz package receipt.
jozee@2871 2
jozee@2871 3 PACKAGE="shell-fm"
jozee@2871 4 VERSION="0.6"
jozee@2871 5 CATEGORY="multimedia"
jozee@2871 6 SHORT_DESC="console based player for the streams provided by Last.FM"
jozee@2871 7 MAINTAINER="jozee@slitaz.org"
jozee@2871 8 DEPENDS="libmad libao"
jozee@2871 9 BUILD_DEPENDS="libmad-dev libao-dev libao git"
jozee@2871 10
jozee@2871 11
jozee@2871 12 # Rules to configure and make the package.
jozee@2871 13 compile_rules()
jozee@2871 14 {
jozee@2871 15 mkdir $src 2> /dev/null
jozee@2871 16 cd $src
jozee@2871 17 git clone git://github.com/jkramer/shell-fm.git $PACKAGE
jozee@2871 18 cd $PACKAGE
jozee@2871 19 make &&
jozee@2871 20 make DESTDIR=$PWD/../_pkg install
jozee@2871 21
jozee@2871 22 }
jozee@2871 23
jozee@2871 24
jozee@2871 25
jozee@2871 26 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2871 27 genpkg_rules()
jozee@2871 28 {
jozee@2871 29 mkdir -p $fs/usr
jozee@2871 30 cp -a $_pkg/usr/bin $fs/usr
jozee@2871 31
jozee@2871 32 }