wok-next view alarm-clock/receipt @ rev 19909

compiz-plugins-main, compiz-plugins-extra, compiz-plugins-unsupported : update bdeps
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Oct 12 23:57:00 2017 +0200 (2017-10-12)
parents 61fdfde9104b
children 835b3b8ce6ac
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 gstreamer0"
17 BUILD_DEPENDS="$DEPENDS gtk+-dev libunique-dev libnotify-dev gstreamer0-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 }