wok-next annotate consonance/receipt @ rev 11771
zsh: does not support bb :(
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 23 14:41:48 2012 +0100 (2012-02-23) |
parents | 3d21b7e2709c |
children | 44def806c119 |
rev | line source |
---|---|
jozee@2662 | 1 # SliTaz package receipt. |
jozee@2662 | 2 |
jozee@2662 | 3 PACKAGE="consonance" |
jozee@2662 | 4 VERSION="0.5" |
jozee@2662 | 5 CATEGORY="multimedia" |
jozee@2662 | 6 SHORT_DESC="A lightwight music manager" |
jozee@2662 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2662 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2662 | 9 WEB_SITE="http://sites.google.com/site/consonancemanager/" |
jozee@2662 | 10 WGET_URL="http://cloud.github.com/downloads/sujith/consonance/$TARBALL" |
jozee@4933 | 11 TAGS="player audio music mp3 ogg" |
jozee@2662 | 12 |
slaxemulator@10297 | 13 DEPENDS="libao taglib libmad sqlite dbus-glib libnotify flac libsndfile libvorbis \ |
slaxemulator@10297 | 14 curl libmodplug libcdio libcddb xcb-util" |
slaxemulator@10297 | 15 BUILD_DEPENDS="libao-dev taglib taglib-dev libmad-dev sqlite-dev dbus-glib-dev \ |
slaxemulator@10297 | 16 libnotify-dev flac-dev libsndfile-dev libvorbis-dev curl-dev libmodplug-dev \ |
slaxemulator@10297 | 17 libcdio-dev libcddb-dev libidn-dev libidn libao libsndfile libmodplug libcdio \ |
slaxemulator@10297 | 18 alsa-lib-dev libogg-dev" |
slaxemulator@10297 | 19 |
jozee@2662 | 20 # Rules to configure and make the package. |
jozee@2662 | 21 compile_rules() |
jozee@2662 | 22 { |
jozee@2662 | 23 cd $src |
slaxemulator@10297 | 24 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@2845 | 25 make && |
slaxemulator@10297 | 26 make DESTDIR=$DESTDIR install |
jozee@2662 | 27 |
jozee@2662 | 28 } |
jozee@2662 | 29 |
jozee@2662 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2662 | 31 genpkg_rules() |
jozee@2662 | 32 { |
jozee@2662 | 33 mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps |
jozee@2662 | 34 cp -a $_pkg/usr/bin $fs/usr |
jozee@2662 | 35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@2662 | 36 cp -a $_pkg/usr/share/$PACKAGE/data/consonance.png $fs/usr/share/pixmaps |
jozee@2662 | 37 |
jozee@2662 | 38 } |