wok-next view cairo-clock/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 8940878905f3 |
children | 102ce3af4b0f |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://macslow.thepimp.net/?page_id=23"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL"
13 WGET_URL="http://ftp.de.debian.org/debian/pool/main/c/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz"
15 BUILD_DEPENDS="intltool gtk+ cairo-dev librsvg-dev libglade-dev libgsf-dev \
16 libcroco gcc3"
17 SPLIT="cairo-clock-themes"
19 compile_rules() {
20 ./configure \
21 CC=gcc-3 \
22 CFLAGS="-march=i486 -Os -pipe" \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 cairo-clock)
30 mkdir -p $fs/usr/share/$PACKAGE/themes
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/$PACKAGE/glade \
33 $fs/usr/share/$PACKAGE
34 cp -a $install/usr/share/$PACKAGE/themes/default \
35 $fs/usr/share/$PACKAGE/themes
36 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf"
37 ;;
38 cairo-clock-themes)
39 mkdir -p $fs/usr/share/cairo-clock
40 cp -a $install/usr/share/cairo-clock/themes $fs/usr/share/cairo-clock
41 rm -rf $fs/usr/share/cairo-clock/themes/default
42 CAT="x-window|set of themes"
43 DEPENDS="cairo-clock"
44 ;;
45 esac
46 }