wok-current view consonance/receipt @ rev 19147
web server: stop running server in pre_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 23 11:34:06 2016 +0200 (2016-05-23) |
parents | 223b265f40fd |
children | bcfa309da72d |
line source
1 # SliTaz package receipt.
3 PACKAGE="consonance"
4 VERSION="0.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="A lightwight music manager"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sites.google.com/site/consonancemanager/"
11 WGET_URL="http://cloud.github.com/downloads/sujith/consonance/$TARBALL"
12 TAGS="player audio music mp3 ogg"
14 DEPENDS="libao taglib libmad sqlite dbus-glib libnotify flac libsndfile libvorbis \
15 curl libmodplug libcdio libcddb xcb-util"
16 BUILD_DEPENDS="libao-dev taglib taglib-dev libmad-dev sqlite-dev dbus-glib-dev \
17 libnotify-dev flac-dev libsndfile-dev libvorbis-dev curl-dev libmodplug-dev \
18 libcdio-dev libcddb-dev libidn-dev libidn libao libsndfile libmodplug libcdio \
19 alsa-lib-dev libogg-dev gtk+-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i 's/.*= notify_notification_new_with_status_icon/#define notify_notification_new_with_status_icon(a,b,c,d) notify_notification_new(a,b,gtk_status_icon_get_icon_name(c))\n&/' src/statusicon.c
25 ./configure --prefix=/usr $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/$PACKAGE $fs/usr/share
37 cp -a $install/usr/share/$PACKAGE/data/consonance.png $fs/usr/share/pixmaps
38 }