wok-current annotate alarm-clock/receipt @ rev 22477

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