wok-current annotate 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 |
rev | line source |
---|---|
pankso@4426 | 1 # SliTaz package receipt. |
pankso@4426 | 2 |
pankso@4426 | 3 PACKAGE="cairo-clock" |
pankso@4426 | 4 VERSION="0.3.4" |
pankso@4426 | 5 CATEGORY="x-window" |
pankso@4426 | 6 SHORT_DESC="Nice analog clock displaying the system-time." |
pankso@4426 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4426 | 8 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr" |
pankso@4426 | 9 BUILD_DEPENDS="gtk+-dev cairo-dev librsvg-dev" |
pankso@4426 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4426 | 11 WEB_SITE="http://macslow.thepimp.net/?page_id=23" |
pankso@4426 | 12 WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL" |
pankso@4426 | 13 |
pankso@4426 | 14 # Rules to configure and make the package. |
pankso@4426 | 15 compile_rules() |
pankso@4426 | 16 { |
pankso@4426 | 17 cd $src |
pankso@4426 | 18 ./configure \ |
pankso@4426 | 19 --prefix=/usr \ |
pankso@4426 | 20 $CONFIGURE_ARGS && |
pankso@4426 | 21 make && |
pankso@4426 | 22 make DESTDIR=$PWD/_pkg install |
pankso@4426 | 23 } |
pankso@4426 | 24 |
pankso@4426 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4426 | 26 genpkg_rules() |
pankso@4426 | 27 { |
pankso@4426 | 28 mkdir -p $fs/usr/share/$PACKAGE/themes |
pankso@4426 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@4426 | 30 cp -a $_pkg/usr/share/$PACKAGE/glade \ |
pankso@4426 | 31 $fs/usr/share/$PACKAGE |
pankso@4426 | 32 cp -a $_pkg/usr/share/$PACKAGE/themes/default \ |
pankso@4426 | 33 $fs/usr/share/$PACKAGE/themes |
pankso@4426 | 34 } |