wok view alarm-clock/receipt @ rev 18490

Up cookutils (766)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 10 18:59:58 2015 +0200 (2015-10-10)
parents 3439d7f01c8c
children 61fdfde9104b
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. Keep it anyway???
11 #WEB_SITE="http://www.alarm-clock.pl/"
12 WEB_SITE="http://www.alarm-clock.pl/"
13 #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
14 WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
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 }