wok view dia/receipt @ rev 18985
Add: Backgrounds created by the community. See: https://github.com/hackdorte/slitaz-community-backgrounds
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Mar 17 00:11:28 2016 -0300 (2016-03-17) |
parents | 27d55e263e2d |
children | 15b2a2fdf54f |
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 mkdir -p $fs/usr/lib/dia $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/dia/*.so $fs/usr/lib/dia
43 cp -a $install/usr/share/applications $fs/usr/share
44 cp -a $install/usr/share/dia $fs/usr/share
45 cp -a $install/usr/share/icons $fs/usr/share
46 rm -r $fs/usr/share/icons/hicolor/scalable
47 # cp -a $install/usr/share/locale $fs/usr/share
48 cp -a $install/usr/share/mime-info $fs/usr/share
49 cp -a $install/usr/share/oaf $fs/usr/share
50 }