wok-next diff consonance/receipt @ rev 20916
libopenraw, abiword: update deps; boost: pack unpacked libs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 21 05:42:25 2018 +0300 (2018-08-21) |
parents | 7eb047d2b438 |
children | f48456621a9d |
line diff
1.1 --- a/consonance/receipt Wed Feb 28 14:24:29 2018 +0200 1.2 +++ b/consonance/receipt Tue Aug 21 05:42:25 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="consonance" 1.8 VERSION="0.5.1" 1.9 @@ -6,34 +6,32 @@ 1.10 SHORT_DESC="A lightwight music manager" 1.11 MAINTAINER="jozee@slitaz.org" 1.12 LICENSE="GPL3" 1.13 +WEB_SITE="http://sites.google.com/site/consonancemanager/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://sites.google.com/site/consonancemanager/" 1.17 WGET_URL="http://cloud.github.com/downloads/sujith/consonance/$TARBALL" 1.18 -TAGS="player audio music mp3 ogg" 1.19 1.20 -DEPENDS="libao taglib libmad sqlite3 dbus-glib libnotify flac libsndfile libvorbis \ 1.21 -curl libmodplug libcdio libcddb xorg-xcb-util" 1.22 BUILD_DEPENDS="libao-dev taglib taglib-dev libmad-dev sqlite3-dev dbus-glib-dev \ 1.23 libnotify-dev flac-dev libsndfile-dev libvorbis-dev curl-dev libmodplug-dev \ 1.24 libcdio-dev libcddb-dev libidn-dev libidn libao libsndfile libmodplug libcdio \ 1.25 alsa-lib-dev libogg-dev gtk+-dev libcdio-paranoia-dev" 1.26 1.27 -# Rules to configure and make the package. 1.28 -compile_rules() 1.29 -{ 1.30 +compile_rules() { 1.31 sed -i 's|cdio/cdda.h|cdio/paranoia/cdda.h|' src/cdda.h 1.32 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 1.33 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.34 + 1.35 + ./configure $CONFIGURE_ARGS && 1.36 + fix libtool && 1.37 make && 1.38 - make DESTDIR=$DESTDIR install 1.39 - 1.40 + make DESTDIR=$DESTDIR install || return 1 1.41 + 1.42 + mkdir -p $install/usr/share/pixmaps 1.43 + ln -s ../consonance/data/consonance.png $install/usr/share/pixmaps/consonance.png 1.44 } 1.45 1.46 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.47 -genpkg_rules() 1.48 -{ 1.49 - mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps 1.50 - cp -a $install/usr/bin $fs/usr 1.51 - cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.52 - cp -a $install/usr/share/$PACKAGE/data/consonance.png $fs/usr/share/pixmaps 1.53 +genpkg_rules() { 1.54 + copy @std 1.55 + DEPENDS="libao taglib libmad sqlite3 dbus-glib libnotify flac libsndfile \ 1.56 + libvorbis curl libmodplug libcdio libcddb xorg-xcb-util" 1.57 + TAGS="player audio music mp3 ogg" 1.58 }