wok-next view shell-fm/receipt @ rev 8044
Fix: xfce4-icon-theme needs intltool to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 20 16:49:16 2011 +0100 (2011-01-20) |
parents | 726947f9394d |
children | 12eaed8b0078 |
line source
1 # SliTaz package receipt.
3 PACKAGE="shell-fm"
4 VERSION="0.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="console based player for the streams provided by Last.FM"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="libmad libao taglib zlib"
9 BUILD_DEPENDS="libmad-dev libao-dev libao git pkg-config"
10 WEB_SITE="http://nex.scrapping.cc/shell-fm/"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
16 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
17 if [ -f $TARBALL ]; then
18 tar xzf $TARBALL
19 else
20 echo "Cloning revision $VERSION from git repository..."
21 git clone git://github.com/jkramer/shell-fm.git $PACKAGE-$VERSION
22 cd $PACKAGE-$VERSION && git checkout v${VERSION}
23 cd $WOK/$PACKAGE && tar czf $TARBALL $PACKAGE-$VERSION
24 fi
26 cd $src
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $_pkg/usr/bin $fs/usr
36 }