wok-6.x view dia/receipt @ rev 25202

updated python-mako (1.1.2 -> 1.1.6)
author Hans-G?nter Theisgen
date Wed Jul 13 14:16:46 2022 +0100 (2022-07-13)
parents 15b2a2fdf54f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dia"
4 VERSION="0.97.3"
5 CATEGORY="office"
6 SHORT_DESC="GTK+ based diagram creation program."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://projects.gnome.org/dia/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 TAGS="office diagram creator editor visio"
14 DEPENDS="gtk+ libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \
15 libxslt popt xorg-libXdamage librsvg"
16 BUILD_DEPENDS="pkg-config gtk+-dev libxml2-dev freetype-dev intltool \
17 fontconfig-dev glib-dev atk-dev pango-dev python-pyxml zlib-dev libxslt \
18 libart_lgpl-dev libart_lgpl pygtk file libxslt-dev expat-dev python-dev \
19 docbook-xsl docbook-xml cairo-dev pango-dev librsvg-dev"
21 current_version()
22 {
23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
24 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 #find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
31 #sed -i 's|stdio.h>|&\n#include <sys/stat.h>|' plug-ins/vdx/vdx-export.c
32 #patch -Np1 -i $stuff/dia-overflow-fix.patch
33 ./configure --with-python \
34 --with-cairo \
35 --disable-gnome \
36 $CONFIGURE_ARGS &&
37 sed -i 's# data doc tests installer# data tests installer#' Makefile &&
38 make $MAKEFLAGS &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cp -a $install/* $fs
46 rm -r $fs/usr/lib/dia/*.la $fs/usr/share/locale
47 }