wok-6.x view dia/receipt @ rev 22777
updated freeradius and freeradius-pam (2.1.12 -> 3.0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 26 08:17:30 2020 +0100 (2020-01-26) |
parents | 188a05620c45 |
children | 6831608a1b2a |
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 # Rules to configure and make the package.
22 compile_rules()
23 {
24 #find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
25 #sed -i 's|stdio.h>|&\n#include <sys/stat.h>|' plug-ins/vdx/vdx-export.c
26 #patch -Np1 -i $stuff/dia-overflow-fix.patch
27 ./configure --with-python \
28 --with-cairo \
29 --disable-gnome \
30 $CONFIGURE_ARGS &&
31 sed -i 's# data doc tests installer# data tests installer#' Makefile &&
32 make $MAKEFLAGS &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 rm -r $fs/usr/lib/dia/*.la $fs/usr/share/locale
41 }