wok rev 22475

updated alarm-clock (1.4.3 -> 1.4.9)
author Hans-G?nter Theisgen
date Sat Dec 28 14:37:07 2019 +0100 (2019-12-28)
parents 9c7d9bab4f4f
children 1b3ec6fb520d
files alarm-clock/receipt
line diff
     1.1 --- a/alarm-clock/receipt	Fri Dec 27 22:10:40 2019 +0100
     1.2 +++ b/alarm-clock/receipt	Sat Dec 28 14:37:07 2019 +0100
     1.3 @@ -1,21 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="alarm-clock"
     1.7 -VERSION="1.4.3"
     1.8 +VERSION="1.4.9"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Simple GTK alarm clock"
    1.11 +TAGS="clock reminder"
    1.12 +SHORT_DESC="Simple GTK alarm clock."
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="GPL3"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -# There's no more website for it. Using wayback machine...
    1.17 -WEB_SITE="https://web.archive.org/web/20100209072308/http://www.alarm-clock.pl/"
    1.18 +#WEB_SITE="https://web.archive.org/web/20100209072308/http://www.alarm-clock.pl/"
    1.19 +WEB_SITE="https://github.com/shaggytwodope/alarm-clock"
    1.20 +
    1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.22  #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
    1.23 -WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
    1.24 -TAGS="clock reminder"
    1.25 +#WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
    1.26 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    1.27  
    1.28 -DEPENDS="gtk+ libunique libnotify gstreamer"
    1.29 -BUILD_DEPENDS="$DEPENDS gtk+-dev libunique-dev libnotify-dev gstreamer-dev \
    1.30 -intltool file"
    1.31 +DEPENDS="gstreamer-1.0 gtk+ libunique libnotify"
    1.32 +BUILD_DEPENDS="$DEPENDS autocoonf automake file gstreamer-dev gtk+-dev \
    1.33 +	intltool libnotify-dev libtool libunique-dev"
    1.34  
    1.35  # Rules to configure and make the package.
    1.36  compile_rules()
    1.37 @@ -23,14 +25,18 @@
    1.38  	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&/' \
    1.39  		src/alarm_runner.c
    1.40  	chmod +x install-sh
    1.41 -	./configure && make && make install
    1.42 +
    1.43 +	./autogen.sh &&
    1.44 +	make &&
    1.45 +	make install
    1.46  }
    1.47  
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.49  genpkg_rules()
    1.50  {
    1.51  	mkdir -p $fs/usr/share
    1.52 -	cp -a $install/usr/bin $fs/usr
    1.53 -	cp -a $install/usr/share/alarm-clock $fs/usr/share
    1.54 -	cp -a $install/usr/share/icons $fs/usr/share
    1.55 +
    1.56 +	cp -a $install/usr/bin			$fs/usr
    1.57 +	cp -a $install/usr/share/alarm-clock	$fs/usr/share
    1.58 +	cp -a $install/usr/share/icons		$fs/usr/share
    1.59  }