wok-6.x view alarm-clock/receipt @ rev 20959

updated gdbm (1.10 -> 1.18.1)
author Hans-G?nter Theisgen
date Mon Mar 04 16:00:34 2019 +0100 (2019-03-04)
parents 61fdfde9104b
children bee875c9f6f9
line source
1 # SliTaz package receipt.
3 PACKAGE="alarm-clock"
4 VERSION="1.4.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Simple GTK alarm clock"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 # There's no more website for it. Using wayback machine...
11 WEB_SITE="https://web.archive.org/web/20100209072308/http://www.alarm-clock.pl/"
12 #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
13 WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
14 TAGS="clock reminder"
16 DEPENDS="gtk+ libunique libnotify gstreamer"
17 BUILD_DEPENDS="$DEPENDS gtk+-dev libunique-dev libnotify-dev gstreamer-dev \
18 intltool file"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 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&/' \
24 src/alarm_runner.c
25 chmod +x install-sh
26 ./configure && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/alarm-clock $fs/usr/share
35 cp -a $install/usr/share/icons $fs/usr/share
36 }