wok-6.x annotate alarm-clock/receipt @ rev 18195

Up tazpanel (505)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 12 13:20:03 2015 +0200 (2015-07-12)
parents 3439d7f01c8c
children 61fdfde9104b
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"
pascal@14999 8 LICENSE="GPL3"
pascal@11216 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@12063 10 # There's no more website for it. Keep it anyway???
gokhlayeh@12063 11 #WEB_SITE="http://www.alarm-clock.pl/"
pascal@14043 12 WEB_SITE="http://www.alarm-clock.pl/"
gokhlayeh@12063 13 #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
pascal@14807 14 WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
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@14999 18 intltool"
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 }