wok diff cairo-clock/receipt @ 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
children 39011a13b555
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cairo-clock/receipt	Mon Oct 26 13:05:49 2009 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cairo-clock"
     1.7 +VERSION="0.3.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Nice analog clock displaying the system-time."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gtk+ cairo librsvg xorg-xcompmgr"
    1.12 +BUILD_DEPENDS="gtk+-dev cairo-dev librsvg-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://macslow.thepimp.net/?page_id=23"
    1.15 +WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		$CONFIGURE_ARGS &&
    1.24 +	make &&
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/share/$PACKAGE/themes
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	cp -a $_pkg/usr/share/$PACKAGE/glade \
    1.34 +		$fs/usr/share/$PACKAGE
    1.35 +	cp -a $_pkg/usr/share/$PACKAGE/themes/default \
    1.36 +		$fs/usr/share/$PACKAGE/themes
    1.37 +}