wok-stable view dia/receipt @ rev 3322
add file-dev | need magic.h for splashy
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Tue Jun 09 18:38:41 2009 +0000 (2009-06-09) |
parents | c2e62b65e0fa |
children | 28c34e01f8c6 |
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 fontconfig-dev glib-dev atk-dev pango-dev pyxml zlib-dev libxslt libart_lgpl-dev libart_lgpl pygtk file libxslt-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --with-python --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share/locale
29 cp -a $_pkg/usr/lib/dia $fs/usr/lib
30 cp -a $_pkg/usr/share/dia $fs/usr/share
31 cp -a $_pkg/usr/share/oaf $fs/usr/share
32 cp -a $_pkg/usr/share/omf $fs/usr/share
33 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 cp -a $_pkg/usr/share/help $fs/usr/share
36 cp -a $_pkg/usr/share/applications $fs/usr/share
37 cp -a $_pkg/usr/share/mime-info $fs/usr/share
38 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
39 cp -a $_pkg/usr/bin $fs/usr
40 }