wok-6.x view cairo-clock/receipt @ rev 14065
shaarli: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 20 12:48:01 2013 +0100 (2013-02-20) |
parents | 41d27278e315 |
children | 7896f0694ef6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-clock"
4 VERSION="0.3.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Nice analog clock displaying the system-time."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://macslow.thepimp.net/?page_id=23"
10 #WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL"
11 WGET_URL="http://ftp.de.debian.org/debian/pool/main/c/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz"
13 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf"
14 BUILD_DEPENDS="intltool gtk+ cairo-dev librsvg-dev libglade-dev libgsf-dev \
15 libcroco gcc3"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure CC=gcc-3 $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/$PACKAGE/themes
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/$PACKAGE/glade \
31 $fs/usr/share/$PACKAGE
32 cp -a $_pkg/usr/share/$PACKAGE/themes/default \
33 $fs/usr/share/$PACKAGE/themes
34 }