wok-current rev 2308

Add dia
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 25 12:20:15 2009 +0000 (2009-02-25)
parents e322190dbc40
children b89693943f43
files dia/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dia/receipt	Wed Feb 25 12:20:15 2009 +0000
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dia"
     1.7 +VERSION="0.96.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="ftp://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.14 +DEPENDS="gtk+ libxml2 freetype fontconfig glib atk pango"
    1.15 +BUILD_DEPENDS="pkg-config gtk+-dev libxml2-dev freetype-dev intltool fontconfig-dev glib-dev atk-dev pango-dev"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.22 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.23 +	make &&
    1.24 +	make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/lib/dia $fs/usr/share/locale
    1.31 +	cp -a $_pkg/usr/lib/dia/*.so* $fs/usr/lib/dia
    1.32 +	cp -a $_pkg/usr/share/dia $fs/usr/share
    1.33 +	cp -a $_pkg/usr/share/oaf $fs/usr/share
    1.34 +	cp -a $_pkg/usr/share/omf $fs/usr/share
    1.35 +	cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
    1.36 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.37 +	cp -a $_pkg/usr/share/help $fs/usr/share
    1.38 +	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.39 +	cp -a $_pkg/usr/share/mime-info $fs/usr/share
    1.40 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.41 +	cp -a $_pkg/usr/bin $fs/usr
    1.42 +}
    1.43 +