wok-current view dia/receipt @ rev 11661
syslinux: help.en (tiny edits)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Feb 12 21:27:40 2012 +0000 (2012-02-12) |
parents | 6e03663b3fa0 |
children | 72f6921dc161 |
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"
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 patch -Np1 -i $stuff/dia-overflow-fix.patch
24 ./configure --with-python \
25 --disable-gnome \
26 $CONFIGURE_ARGS &&
27 sed -i 's# data doc tests installer# data tests installer#' Makefile &&
28 make $MAKEFLAGS &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share/locale
36 cp -a $_pkg/usr/lib/dia $fs/usr/lib
37 cp -a $_pkg/usr/share/dia $fs/usr/share
38 cp -a $_pkg/usr/share/oaf $fs/usr/share
39 #cp -a $_pkg/usr/share/omf $fs/usr/share
40 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
41 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
42 #cp -a $_pkg/usr/share/help $fs/usr/share
43 cp -a $_pkg/usr/share/applications $fs/usr/share
44 cp -a $_pkg/usr/share/mime-info $fs/usr/share
45 cp -a $_pkg/usr/share/icons/hicolor/16x16/apps/dia.png $fs/usr/share/pixmaps
46 cp -a $_pkg/usr/bin $fs/usr
47 }