wok-6.x view dia/receipt @ rev 3921

linux: fix .config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 18 21:42:30 2009 +0200 (2009-08-18)
parents ce672dcec847
children 74a6a43bf614
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --with-python --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share/locale
31 cp -a $_pkg/usr/lib/dia $fs/usr/lib
32 cp -a $_pkg/usr/share/dia $fs/usr/share
33 cp -a $_pkg/usr/share/oaf $fs/usr/share
34 cp -a $_pkg/usr/share/omf $fs/usr/share
35 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
37 cp -a $_pkg/usr/share/help $fs/usr/share
38 cp -a $_pkg/usr/share/applications $fs/usr/share
39 cp -a $_pkg/usr/share/mime-info $fs/usr/share
40 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
41 cp -a $_pkg/usr/bin $fs/usr
42 }