wok-6.x annotate shell-fm/receipt @ rev 8295

Up: midori to 0.3.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jan 31 18:22:05 2011 +0000 (2011-01-31)
parents 726947f9394d
children 12eaed8b0078
rev   line source
jozee@2871 1 # SliTaz package receipt.
jozee@2871 2
jozee@2871 3 PACKAGE="shell-fm"
ben@7891 4 VERSION="0.7"
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"
pascal@2874 8 DEPENDS="libmad libao taglib zlib"
slaxemulator@7914 9 BUILD_DEPENDS="libmad-dev libao-dev libao git pkg-config"
pankso@3609 10 WEB_SITE="http://nex.scrapping.cc/shell-fm/"
jozee@2871 11
jozee@2871 12 # Rules to configure and make the package.
jozee@2871 13 compile_rules()
jozee@2871 14 {
slaxemulator@7914 15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
slaxemulator@7914 16 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
slaxemulator@7914 17 if [ -f $TARBALL ]; then
slaxemulator@7914 18 tar xzf $TARBALL
slaxemulator@7914 19 else
slaxemulator@7914 20 echo "Cloning revision $VERSION from git repository..."
slaxemulator@7914 21 git clone git://github.com/jkramer/shell-fm.git $PACKAGE-$VERSION
slaxemulator@7914 22 cd $PACKAGE-$VERSION && git checkout v${VERSION}
slaxemulator@7914 23 cd $WOK/$PACKAGE && tar czf $TARBALL $PACKAGE-$VERSION
slaxemulator@7914 24 fi
slaxemulator@7914 25
jozee@2871 26 cd $src
jozee@2871 27 make &&
slaxemulator@7914 28 make DESTDIR=$PWD/_pkg install
jozee@2871 29 }
jozee@2871 30
jozee@2871 31 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2871 32 genpkg_rules()
jozee@2871 33 {
pankso@3609 34 mkdir -p $fs/usr
jozee@2871 35 cp -a $_pkg/usr/bin $fs/usr
jozee@2871 36 }