wok view cairo-clock/receipt @ rev 24783
Up apache-ant (1.10.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 20 12:11:06 2022 +0000 (2022-03-20) |
parents | afae00265386 |
children | bff339676249 |
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="https://web.archive.org/web/20120101103112/http://macslow.thepimp.net:80/?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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.tar.*\".*|\\1|;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure CC=gcc-3 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/$PACKAGE/themes
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/$PACKAGE/glade \
39 $fs/usr/share/$PACKAGE
40 cp -a $install/usr/share/$PACKAGE/themes/default \
41 $fs/usr/share/$PACKAGE/themes
42 }