wok-next view dia/receipt @ rev 21596

updated dos2unix (7.4.0 -> 7.4.1)
author Hans-G?nter Theisgen
date Wed Jun 24 14:10:06 2020 +0100 (2020-06-24)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://wiki.gnome.org/Apps/Dia"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev libxml2-dev freetype-dev intltool \
15 fontconfig-dev glib-dev atk-dev pango-dev python-pyxml zlib-dev libxslt \
16 libart_lgpl-dev libart_lgpl python-pygtk file libxslt-dev expat-dev python-dev \
17 docbook-xsl docbook-xml cairo-dev pango-dev librsvg-dev"
19 compile_rules() {
20 #find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
21 #sed -i 's|stdio.h>|&\n#include <sys/stat.h>|' plug-ins/vdx/vdx-export.c
23 ./configure \
24 --with-python \
25 --with-cairo \
26 --disable-gnome \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 sed -i 's# data doc tests installer# data tests installer#' Makefile &&
30 make $MAKEFLAGS &&
31 make DESTDIR=$install install
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="gtk2 libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \
37 libxslt popt libxdamage librsvg"
38 TAGS="office diagram creator editor visio"
39 }