wok-current annotate dia/receipt @ rev 11689

ntop: update bdep
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 18 17:18:01 2012 +0100 (2012-02-18)
parents 6e03663b3fa0
children 72f6921dc161
rev   line source
slaxemulator@10852 1 # SliTaz package receipt.
slaxemulator@10852 2
slaxemulator@10852 3 PACKAGE="dia"
slaxemulator@10852 4 VERSION="0.97.1"
slaxemulator@10852 5 CATEGORY="office"
slaxemulator@10852 6 SHORT_DESC="GTK+ based diagram creation program."
slaxemulator@10852 7 MAINTAINER="pascal.bellard@slitaz.org"
slaxemulator@10852 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@10852 9 WEB_SITE="http://projects.gnome.org/dia/"
slaxemulator@10852 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@10852 11 TAGS="office diagram creator editor visio"
slaxemulator@10852 12
slaxemulator@10852 13 DEPENDS="gtk+ libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \
slaxemulator@10852 14 libxslt popt xorg-libXdamage"
slaxemulator@10852 15 BUILD_DEPENDS="pkg-config gtk+-dev libxml2-dev freetype-dev intltool \
slaxemulator@10852 16 fontconfig-dev glib-dev atk-dev pango-dev python-pyxml zlib-dev libxslt \
slaxemulator@10852 17 libart_lgpl-dev libart_lgpl pygtk file libxslt-dev expat-dev python-dev"
slaxemulator@10852 18
slaxemulator@10852 19 # Rules to configure and make the package.
slaxemulator@10852 20 compile_rules()
slaxemulator@10852 21 {
slaxemulator@10852 22 cd $src
slaxemulator@10852 23 patch -Np1 -i $stuff/dia-overflow-fix.patch
slaxemulator@10852 24 ./configure --with-python \
slaxemulator@10852 25 --disable-gnome \
slaxemulator@10852 26 $CONFIGURE_ARGS &&
slaxemulator@10852 27 sed -i 's# data doc tests installer# data tests installer#' Makefile &&
gokhlayeh@11574 28 make $MAKEFLAGS &&
slaxemulator@10852 29 make DESTDIR=$DESTDIR install
slaxemulator@10852 30 }
slaxemulator@10852 31
slaxemulator@10852 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10852 33 genpkg_rules()
slaxemulator@10852 34 {
slaxemulator@10852 35 mkdir -p $fs/usr/lib $fs/usr/share/locale
slaxemulator@10852 36 cp -a $_pkg/usr/lib/dia $fs/usr/lib
slaxemulator@10852 37 cp -a $_pkg/usr/share/dia $fs/usr/share
slaxemulator@10852 38 cp -a $_pkg/usr/share/oaf $fs/usr/share
slaxemulator@10852 39 #cp -a $_pkg/usr/share/omf $fs/usr/share
slaxemulator@10852 40 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
slaxemulator@10852 41 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
slaxemulator@10852 42 #cp -a $_pkg/usr/share/help $fs/usr/share
slaxemulator@10852 43 cp -a $_pkg/usr/share/applications $fs/usr/share
slaxemulator@10852 44 cp -a $_pkg/usr/share/mime-info $fs/usr/share
slaxemulator@10852 45 cp -a $_pkg/usr/share/icons/hicolor/16x16/apps/dia.png $fs/usr/share/pixmaps
slaxemulator@10852 46 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@10852 47 }
slaxemulator@10852 48