wok-next diff cairo-clock/receipt @ rev 20758
cairo-clock: don't use gcc3, add patch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 02 13:05:09 2018 +0300 (2018-06-02) |
parents | c6072d05ef86 |
children | f48456621a9d |
line diff
1.1 --- a/cairo-clock/receipt Tue Mar 27 12:50:45 2018 +0200 1.2 +++ b/cairo-clock/receipt Sat Jun 02 13:05:09 2018 +0300 1.3 @@ -3,44 +3,36 @@ 1.4 PACKAGE="cairo-clock" 1.5 VERSION="0.3.4" 1.6 CATEGORY="x-window" 1.7 -SHORT_DESC="Nice analog clock displaying the system-time" 1.8 +SHORT_DESC="Nice analog clock displaying the system time" 1.9 MAINTAINER="pankso@slitaz.org" 1.10 LICENSE="GPL2" 1.11 -WEB_SITE="http://macslow.thepimp.net/?page_id=23" 1.12 +WEB_SITE="https://web.archive.org/web/20120101103112/http://macslow.thepimp.net:80/?page_id=23" 1.13 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 #WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL" 1.16 WGET_URL="http://ftp.de.debian.org/debian/pool/main/c/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz" 1.17 1.18 -BUILD_DEPENDS="intltool gtk+ cairo-dev librsvg-dev libglade-dev libgsf-dev \ 1.19 -libcroco gcc3" 1.20 -SPLIT="cairo-clock-themes" 1.21 +BUILD_DEPENDS="intltool glib-dev gtk+-dev cairo-dev libglade-dev librsvg-dev" 1.22 +SPLIT="cairo-clock-themes cairo-clock" 1.23 1.24 compile_rules() { 1.25 - ./configure \ 1.26 - CC=gcc-3 \ 1.27 - CFLAGS="-march=i486 -Os -pipe" \ 1.28 - $CONFIGURE_ARGS && 1.29 - make && make install 1.30 + ./configure $CONFIGURE_ARGS && 1.31 + fix libtool && 1.32 + make && 1.33 + make install 1.34 } 1.35 1.36 genpkg_rules() { 1.37 case $PACKAGE in 1.38 - cairo-clock) 1.39 - mkdir -p $fs/usr/share/$PACKAGE/themes 1.40 - cp -a $install/usr/bin $fs/usr 1.41 - cp -a $install/usr/share/$PACKAGE/glade \ 1.42 - $fs/usr/share/$PACKAGE 1.43 - cp -a $install/usr/share/$PACKAGE/themes/default \ 1.44 - $fs/usr/share/$PACKAGE/themes 1.45 - DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf" 1.46 - ;; 1.47 cairo-clock-themes) 1.48 - mkdir -p $fs/usr/share/cairo-clock 1.49 - cp -a $install/usr/share/cairo-clock/themes $fs/usr/share/cairo-clock 1.50 - rm -rf $fs/usr/share/cairo-clock/themes/default 1.51 + copy themes/ 1.52 + rm -r $fs/usr/share/cairo-clock/themes/default/ 1.53 CAT="x-window|set of themes" 1.54 DEPENDS="cairo-clock" 1.55 ;; 1.56 + cairo-clock) 1.57 + copy @std @rm 1.58 + DEPENDS="cairo gdk-pixbuf glib gtk+ libglade librsvg" 1.59 + ;; 1.60 esac 1.61 }