wok-current view dia/receipt @ rev 2377
slitaz-eeepc: add full support for 701 and 1000
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 07 21:30:55 2009 +0100 (2009-03-07) |
parents | 3d1a3740a923 |
children | 1327d60074b2 |
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 libxslt"
12 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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --with-python --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/share/locale
28 cp -a $_pkg/usr/lib/dia $fs/usr/lib
29 cp -a $_pkg/usr/share/dia $fs/usr/share
30 cp -a $_pkg/usr/share/oaf $fs/usr/share
31 cp -a $_pkg/usr/share/omf $fs/usr/share
32 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 cp -a $_pkg/usr/share/help $fs/usr/share
35 cp -a $_pkg/usr/share/applications $fs/usr/share
36 cp -a $_pkg/usr/share/mime-info $fs/usr/share
37 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
38 cp -a $_pkg/usr/bin $fs/usr
39 }