wok rev 4426

Add cairo-clock (Sexy desktop clock)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Oct 26 13:05:49 2009 +0100 (2009-10-26)
parents 1986049523b8
children 6e3fc22e770a
files cairo-clock-themes/receipt cairo-clock/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cairo-clock-themes/receipt	Mon Oct 26 13:05:49 2009 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cairo-clock-themes"
     1.7 +VERSION="0.3.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Set of themes for cairo-clock."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="cairo-clock"
    1.12 +WANTED="cairo-clock"
    1.13 +WEB_SITE="http://macslow.thepimp.net/?page_id=23"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/share/cairo-clock
    1.19 +	cp -a $_pkg/usr/share/cairo-clock/themes $fs/usr/share/cairo-clock
    1.20 +	rm -rf $fs/usr/share/cairo-clock/themes/default
    1.21 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/cairo-clock/receipt	Mon Oct 26 13:05:49 2009 +0100
     2.3 @@ -0,0 +1,34 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="cairo-clock"
     2.7 +VERSION="0.3.4"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="Nice analog clock displaying the system-time."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="gtk+ cairo librsvg xorg-xcompmgr"
    2.12 +BUILD_DEPENDS="gtk+-dev cairo-dev librsvg-dev"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://macslow.thepimp.net/?page_id=23"
    2.15 +WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	cd $src
    2.21 +	./configure \
    2.22 +		--prefix=/usr \
    2.23 +		$CONFIGURE_ARGS &&
    2.24 +	make &&
    2.25 +	make DESTDIR=$PWD/_pkg install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr/share/$PACKAGE/themes
    2.32 +	cp -a $_pkg/usr/bin $fs/usr
    2.33 +	cp -a $_pkg/usr/share/$PACKAGE/glade \
    2.34 +		$fs/usr/share/$PACKAGE
    2.35 +	cp -a $_pkg/usr/share/$PACKAGE/themes/default \
    2.36 +		$fs/usr/share/$PACKAGE/themes
    2.37 +}