wok-4.x view dia/receipt @ rev 8173

imported patch toolchain/bison.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:49 2011 +0100 (2011-01-27)
parents 22f34f1a2cd8
children
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="ftp://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
11 DEPENDS="gtk+ libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \
12 libxslt popt xorg-libXdamage"
13 BUILD_DEPENDS="pkg-config gtk+-dev libxml2-dev freetype-dev intltool \
14 fontconfig-dev glib-dev atk-dev pango-dev python-pyxml zlib-dev libxslt \
15 libart_lgpl-dev libart_lgpl pygtk file libxslt-dev expat-dev python-dev"
16 TAGS="office diagram creator editor visio"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --with-python --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make -j 4 &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share/locale
32 cp -a $_pkg/usr/lib/dia $fs/usr/lib
33 cp -a $_pkg/usr/share/dia $fs/usr/share
34 cp -a $_pkg/usr/share/oaf $fs/usr/share
35 #cp -a $_pkg/usr/share/omf $fs/usr/share
36 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
38 #cp -a $_pkg/usr/share/help $fs/usr/share
39 cp -a $_pkg/usr/share/applications $fs/usr/share
40 cp -a $_pkg/usr/share/mime-info $fs/usr/share
41 cp -a $_pkg/usr/share/icons/hicolor/16x16/apps/dia.png $fs/usr/share/pixmaps
42 cp -a $_pkg/usr/bin $fs/usr
43 }