wok view alarm-clock/receipt @ rev 18980
Up: New wallpapers and new mirror.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Tue Mar 15 05:30:13 2016 -0300 (2016-03-15) |
parents | bfee6be043f8 |
children | d37d15244372 |
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"
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 }