wok-current view dia/receipt @ rev 14989
thunderbird-langpack-*: add license; add cs, el, en_US, es_AR, hu, pl, sl, sv_SE locales
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 09 13:10:42 2013 +0300 (2013-08-09) |
parents | 72f6921dc161 |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="dia"
4 VERSION="0.97.1"
5 CATEGORY="office"
6 SHORT_DESC="GTK+ based diagram creation program."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://projects.gnome.org/dia/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
11 TAGS="office diagram creator editor visio"
13 DEPENDS="gtk+ libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \
14 libxslt popt xorg-libXdamage librsvg"
15 BUILD_DEPENDS="pkg-config gtk+-dev libxml2-dev freetype-dev intltool \
16 fontconfig-dev glib-dev atk-dev pango-dev python-pyxml zlib-dev libxslt \
17 libart_lgpl-dev libart_lgpl pygtk file libxslt-dev expat-dev python-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
24 sed -i 's|stdio.h>|&\n#include <sys/stat.h>|' plug-ins/vdx/vdx-export.c
25 patch -Np1 -i $stuff/dia-overflow-fix.patch
26 ./configure --with-python \
27 --disable-gnome \
28 $CONFIGURE_ARGS &&
29 sed -i 's# data doc tests installer# data tests installer#' Makefile &&
30 make $MAKEFLAGS &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share/locale
38 cp -a $_pkg/usr/lib/dia $fs/usr/lib
39 cp -a $_pkg/usr/share/dia $fs/usr/share
40 cp -a $_pkg/usr/share/oaf $fs/usr/share
41 #cp -a $_pkg/usr/share/omf $fs/usr/share
42 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
43 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
44 #cp -a $_pkg/usr/share/help $fs/usr/share
45 cp -a $_pkg/usr/share/applications $fs/usr/share
46 cp -a $_pkg/usr/share/mime-info $fs/usr/share
47 cp -a $_pkg/usr/share/icons/hicolor/16x16/apps/dia.png $fs/usr/share/pixmaps
48 cp -a $_pkg/usr/bin $fs/usr
49 }