wok-next view dia/receipt @ rev 20569
Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 07:14:16 2018 +0300 (2018-04-13) |
parents | d43bf7aae921 |
children | d6378d455338 |
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
22 #patch -Np1 -i $stuff/dia-overflow-fix.patch
24 ./configure \
25 --with-python \
26 --with-cairo \
27 --disable-gnome \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 sed -i 's# data doc tests installer# data tests installer#' Makefile &&
31 make $MAKEFLAGS &&
32 make DESTDIR=$DESTDIR install
33 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="gtk+ libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \
38 libxslt popt xorg-libXdamage librsvg"
39 TAGS="office diagram creator editor visio"
40 }