wok-4.x diff dia/receipt @ rev 11192
Up: mercurial to 2.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 03 01:24:32 2011 +0000 (2011-11-03) |
parents | |
children | 8e4c74abdf74 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dia/receipt Thu Nov 03 01:24:32 2011 +0000 1.3 @@ -0,0 +1,48 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="dia" 1.7 +VERSION="0.97.1" 1.8 +CATEGORY="office" 1.9 +SHORT_DESC="GTK+ based diagram creation program." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://projects.gnome.org/dia/" 1.13 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.14 +TAGS="office diagram creator editor visio" 1.15 + 1.16 +DEPENDS="gtk+ libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \ 1.17 +libxslt popt xorg-libXdamage" 1.18 +BUILD_DEPENDS="pkg-config gtk+-dev libxml2-dev freetype-dev intltool \ 1.19 +fontconfig-dev glib-dev atk-dev pango-dev python-pyxml zlib-dev libxslt \ 1.20 +libart_lgpl-dev libart_lgpl pygtk file libxslt-dev expat-dev python-dev" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + cd $src 1.26 + patch -Np1 -i $stuff/dia-overflow-fix.patch 1.27 + ./configure --with-python \ 1.28 + --disable-gnome \ 1.29 + $CONFIGURE_ARGS && 1.30 + sed -i 's# data doc tests installer# data tests installer#' Makefile && 1.31 + make -j 4 && 1.32 + make DESTDIR=$DESTDIR install 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + mkdir -p $fs/usr/lib $fs/usr/share/locale 1.39 + cp -a $_pkg/usr/lib/dia $fs/usr/lib 1.40 + cp -a $_pkg/usr/share/dia $fs/usr/share 1.41 + cp -a $_pkg/usr/share/oaf $fs/usr/share 1.42 + #cp -a $_pkg/usr/share/omf $fs/usr/share 1.43 + cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale 1.44 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.45 + #cp -a $_pkg/usr/share/help $fs/usr/share 1.46 + cp -a $_pkg/usr/share/applications $fs/usr/share 1.47 + cp -a $_pkg/usr/share/mime-info $fs/usr/share 1.48 + cp -a $_pkg/usr/share/icons/hicolor/16x16/apps/dia.png $fs/usr/share/pixmaps 1.49 + cp -a $_pkg/usr/bin $fs/usr 1.50 +} 1.51 +