wok-next annotate alarm-clock/receipt @ rev 20569

Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 07:14:16 2018 +0300 (2018-04-13)
parents 0e8dadf052b9
children b156aee559a7
rev   line source
al@20569 1 # SliTaz package receipt v2.
pascal@11216 2
pascal@11216 3 PACKAGE="alarm-clock"
pascal@11216 4 VERSION="1.4.3"
pascal@11216 5 CATEGORY="utilities"
pascal@11216 6 SHORT_DESC="Simple GTK alarm clock"
pascal@11216 7 MAINTAINER="pankso@slitaz.org"
al@18541 8 LICENSE="GPL3"
al@18541 9 # There's no more website for it. Using wayback machine...
al@18541 10 WEB_SITE="https://web.archive.org/web/20100209072308/http://www.alarm-clock.pl/"
al@20569 11
al@20569 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@12063 13 #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
pascal@14807 14 WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
pascal@11216 15
al@20569 16 BUILD_DEPENDS="gtk+-dev libunique-dev libnotify-dev gstreamer0-dev intltool"
pascal@14999 17
al@20569 18 compile_rules() {
pascal@17623 19 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&/' \
pascal@17622 20 src/alarm_runner.c
pascal@11216 21 chmod +x install-sh
al@20569 22
al@20569 23 ./configure &&
al@20569 24 fix libtool &&
al@20569 25 make &&
al@20569 26 make install
pascal@11216 27 }
pascal@11216 28
al@20569 29 genpkg_rules() {
al@20569 30 copy @std
al@20569 31 DEPENDS="gtk+ libunique libnotify gstreamer0"
al@20569 32 TAGS="clock reminder"
pascal@11216 33 }