wok-next view dia/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents c022997c7a57
children d5aab818505e
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="http://projects.gnome.org/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=$DESTDIR install
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="gtk2 libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \
37 libxslt popt xorg-libXdamage librsvg"
38 TAGS="office diagram creator editor visio"
39 }