wok-6.x annotate dia/receipt @ rev 22746
updated ecj (4.10 -> 4.14)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 24 10:35:46 2020 +0100 (2020-01-24) |
parents | 188a05620c45 |
children | 6831608a1b2a |
rev | line source |
---|---|
slaxemulator@10852 | 1 # SliTaz package receipt. |
slaxemulator@10852 | 2 |
slaxemulator@10852 | 3 PACKAGE="dia" |
psychomaniak@18544 | 4 VERSION="0.97.3" |
slaxemulator@10852 | 5 CATEGORY="office" |
slaxemulator@10852 | 6 SHORT_DESC="GTK+ based diagram creation program." |
slaxemulator@10852 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
psychomaniak@18544 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@10852 | 10 WEB_SITE="http://projects.gnome.org/dia/" |
slaxemulator@10852 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@10852 | 12 TAGS="office diagram creator editor visio" |
slaxemulator@10852 | 13 |
slaxemulator@10852 | 14 DEPENDS="gtk+ libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \ |
pascal@12078 | 15 libxslt popt xorg-libXdamage librsvg" |
slaxemulator@10852 | 16 BUILD_DEPENDS="pkg-config gtk+-dev libxml2-dev freetype-dev intltool \ |
slaxemulator@10852 | 17 fontconfig-dev glib-dev atk-dev pango-dev python-pyxml zlib-dev libxslt \ |
psychomaniak@18544 | 18 libart_lgpl-dev libart_lgpl pygtk file libxslt-dev expat-dev python-dev \ |
psychomaniak@18544 | 19 docbook-xsl docbook-xml cairo-dev pango-dev librsvg-dev" |
slaxemulator@10852 | 20 |
slaxemulator@10852 | 21 # Rules to configure and make the package. |
slaxemulator@10852 | 22 compile_rules() |
slaxemulator@10852 | 23 { |
psychomaniak@18544 | 24 #find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' |
psychomaniak@18544 | 25 #sed -i 's|stdio.h>|&\n#include <sys/stat.h>|' plug-ins/vdx/vdx-export.c |
psychomaniak@18544 | 26 #patch -Np1 -i $stuff/dia-overflow-fix.patch |
slaxemulator@10852 | 27 ./configure --with-python \ |
psychomaniak@18544 | 28 --with-cairo \ |
slaxemulator@10852 | 29 --disable-gnome \ |
slaxemulator@10852 | 30 $CONFIGURE_ARGS && |
slaxemulator@10852 | 31 sed -i 's# data doc tests installer# data tests installer#' Makefile && |
gokhlayeh@11574 | 32 make $MAKEFLAGS && |
slaxemulator@10852 | 33 make DESTDIR=$DESTDIR install |
slaxemulator@10852 | 34 } |
slaxemulator@10852 | 35 |
slaxemulator@10852 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10852 | 37 genpkg_rules() |
slaxemulator@10852 | 38 { |
al@19230 | 39 cp -a $install/* $fs |
al@19230 | 40 rm -r $fs/usr/lib/dia/*.la $fs/usr/share/locale |
slaxemulator@10852 | 41 } |