wok-next view dia/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 835b3b8ce6ac
children c022997c7a57
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="gtk+-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 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="gtk+ libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \
37 libxslt popt xorg-libXdamage librsvg"
38 TAGS="office diagram creator editor visio"
39 }