wok annotate cairo-clock/receipt @ rev 24921
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 10 17:48:38 2022 +0000 (2022-04-10) |
parents | afae00265386 |
children | bff339676249 |
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@15002 | 8 LICENSE="GPL2" |
pankso@4426 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20671 | 10 WEB_SITE="https://web.archive.org/web/20120101103112/http://macslow.thepimp.net:80/?page_id=23" |
pascal@13191 | 11 #WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL" |
pascal@13191 | 12 WGET_URL="http://ftp.de.debian.org/debian/pool/main/c/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz" |
pankso@4426 | 13 |
pankso@9908 | 14 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf" |
pascal@11523 | 15 BUILD_DEPENDS="intltool gtk+ cairo-dev librsvg-dev libglade-dev libgsf-dev \ |
pascal@13191 | 16 libcroco gcc3" |
pankso@9908 | 17 |
pascal@24402 | 18 # What is the latest version available today? |
pascal@24402 | 19 current_version() |
pascal@24402 | 20 { |
pascal@24402 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24614 | 22 sed "/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.tar.*\".*|\\1|;q" |
pascal@24402 | 23 } |
pascal@24402 | 24 |
pankso@4426 | 25 # Rules to configure and make the package. |
pankso@4426 | 26 compile_rules() |
pankso@4426 | 27 { |
pankso@4426 | 28 cd $src |
pascal@13192 | 29 ./configure CC=gcc-3 $CONFIGURE_ARGS && |
slaxemulator@10283 | 30 make && make install |
pankso@4426 | 31 } |
pankso@4426 | 32 |
pankso@4426 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4426 | 34 genpkg_rules() |
pankso@4426 | 35 { |
pankso@4426 | 36 mkdir -p $fs/usr/share/$PACKAGE/themes |
pascal@15002 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15002 | 38 cp -a $install/usr/share/$PACKAGE/glade \ |
pankso@4426 | 39 $fs/usr/share/$PACKAGE |
pascal@15002 | 40 cp -a $install/usr/share/$PACKAGE/themes/default \ |
pankso@4426 | 41 $fs/usr/share/$PACKAGE/themes |
pankso@4426 | 42 } |