wok-current view alarm-clock/receipt @ rev 23127
updated libzdb and libzdb-dev (3.0 -> 3.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 13 10:27:50 2020 +0100 (2020-03-13) |
parents | 1b3ec6fb520d |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="alarm-clock"
4 VERSION="1.4.9"
5 CATEGORY="utilities"
6 TAGS="clock reminder"
7 SHORT_DESC="Simple GTK alarm clock."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL3"
10 #WEB_SITE="https://web.archive.org/web/20100209072308/http://www.alarm-clock.pl/"
11 WEB_SITE="https://github.com/shaggytwodope/alarm-clock"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
15 #WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
16 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
18 DEPENDS="gstreamer-1.0 gtk+ libunique libnotify"
19 BUILD_DEPENDS="$DEPENDS autoconf automake file gstreamer-1.0-dev gtk+-dev \
20 intltool libnotify-dev libtool libunique-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 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&/' \
26 src/alarm_runner.c
27 chmod +x install-sh
29 ./autogen.sh &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/alarm-clock $fs/usr/share
41 cp -a $install/usr/share/icons $fs/usr/share
42 }