wok view cairo-clock/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 69cf73a6ef71
children 6e8b1bcb30e2
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://macslow.thepimp.net/?page_id=23"
11 #WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL"
12 WGET_URL="http://ftp.de.debian.org/debian/pool/main/c/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz"
14 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf"
15 BUILD_DEPENDS="intltool gtk+ cairo-dev librsvg-dev libglade-dev libgsf-dev \
16 libcroco gcc3"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure CC=gcc-3 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/$PACKAGE/themes
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share/$PACKAGE/glade \
32 $fs/usr/share/$PACKAGE
33 cp -a $install/usr/share/$PACKAGE/themes/default \
34 $fs/usr/share/$PACKAGE/themes
35 }