wok-stable view dia/receipt @ rev 5964
libcddb: fix depends
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Thu Aug 05 23:04:56 2010 +0200 (2010-08-05) |
parents | 74a6a43bf614 |
children | 4c54a5799c25 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dia"
4 VERSION="0.96.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"
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/pixmaps $fs/usr/share
42 cp -a $_pkg/usr/bin $fs/usr
43 }