wok-next annotate cairo-clock/receipt @ rev 20533
cairo-clock, grub4dos: fix CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 27 12:50:45 2018 +0200 (2018-03-27) |
parents | 8940878905f3 |
children | 102ce3af4b0f |
rev | line source |
---|---|
al@20462 | 1 # SliTaz package receipt v2. |
pankso@4426 | 2 |
pankso@4426 | 3 PACKAGE="cairo-clock" |
pankso@4426 | 4 VERSION="0.3.4" |
pankso@4426 | 5 CATEGORY="x-window" |
al@20462 | 6 SHORT_DESC="Nice analog clock displaying the system-time" |
pankso@4426 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@20462 | 9 WEB_SITE="http://macslow.thepimp.net/?page_id=23" |
al@20462 | 10 |
pankso@4426 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13191 | 12 #WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL" |
pascal@13191 | 13 WGET_URL="http://ftp.de.debian.org/debian/pool/main/c/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz" |
pankso@4426 | 14 |
pascal@11523 | 15 BUILD_DEPENDS="intltool gtk+ cairo-dev librsvg-dev libglade-dev libgsf-dev \ |
pascal@13191 | 16 libcroco gcc3" |
al@20462 | 17 SPLIT="cairo-clock-themes" |
pankso@9908 | 18 |
al@20462 | 19 compile_rules() { |
al@20462 | 20 ./configure \ |
al@20462 | 21 CC=gcc-3 \ |
pascal@20533 | 22 CFLAGS="-march=i486 -Os -pipe" \ |
al@20462 | 23 $CONFIGURE_ARGS && |
slaxemulator@10283 | 24 make && make install |
pankso@4426 | 25 } |
pankso@4426 | 26 |
al@20462 | 27 genpkg_rules() { |
al@20462 | 28 case $PACKAGE in |
al@20462 | 29 cairo-clock) |
al@20462 | 30 mkdir -p $fs/usr/share/$PACKAGE/themes |
al@20462 | 31 cp -a $install/usr/bin $fs/usr |
al@20462 | 32 cp -a $install/usr/share/$PACKAGE/glade \ |
al@20462 | 33 $fs/usr/share/$PACKAGE |
al@20462 | 34 cp -a $install/usr/share/$PACKAGE/themes/default \ |
al@20462 | 35 $fs/usr/share/$PACKAGE/themes |
al@20462 | 36 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf" |
al@20462 | 37 ;; |
al@20462 | 38 cairo-clock-themes) |
al@20462 | 39 mkdir -p $fs/usr/share/cairo-clock |
al@20462 | 40 cp -a $install/usr/share/cairo-clock/themes $fs/usr/share/cairo-clock |
al@20462 | 41 rm -rf $fs/usr/share/cairo-clock/themes/default |
al@20462 | 42 CAT="x-window|set of themes" |
al@20462 | 43 DEPENDS="cairo-clock" |
al@20462 | 44 ;; |
al@20462 | 45 esac |
pankso@4426 | 46 } |