wok annotate cairo-clock/receipt @ rev 17393

opus: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 27 16:05:28 2014 +0100 (2014-11-27)
parents 69cf73a6ef71
children 6e8b1bcb30e2
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"
pankso@4426 10 WEB_SITE="http://macslow.thepimp.net/?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
pankso@4426 18 # Rules to configure and make the package.
pankso@4426 19 compile_rules()
pankso@4426 20 {
pankso@4426 21 cd $src
pascal@13192 22 ./configure CC=gcc-3 $CONFIGURE_ARGS &&
slaxemulator@10283 23 make && make install
pankso@4426 24 }
pankso@4426 25
pankso@4426 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4426 27 genpkg_rules()
pankso@4426 28 {
pankso@4426 29 mkdir -p $fs/usr/share/$PACKAGE/themes
pascal@15002 30 cp -a $install/usr/bin $fs/usr
pascal@15002 31 cp -a $install/usr/share/$PACKAGE/glade \
pankso@4426 32 $fs/usr/share/$PACKAGE
pascal@15002 33 cp -a $install/usr/share/$PACKAGE/themes/default \
pankso@4426 34 $fs/usr/share/$PACKAGE/themes
pankso@4426 35 }