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