wok-4.x annotate cairo-clock/receipt @ rev 9704
gcc: make it build with cookutils and let tazwok use its functions
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 08 20:03:09 2011 +0200 (2011-05-08) |
parents | 39011a13b555 |
children | 55c8976cc71a |
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" |
gokhlayeh@8804 | 9 BUILD_DEPENDS="intltool" |
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 } |