wok annotate cairo-clock/receipt @ rev 5269
Up: gcc (4.5.0) In time for new toolchain!
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 14 22:45:51 2010 +0200 (2010-04-14) |
parents | 5576a54b083f |
children | f6174e5515c7 |
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" |
pascal@4999 | 8 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf" |
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 } |