wok-next annotate dia/receipt @ rev 3666

Upgrade: findutils (4.4.1 to 4.4.2)
author Matthew Sheets <rcx@zoominternet.net>
date Fri Jul 10 10:05:29 2009 +0000 (2009-07-10)
parents ce672dcec847
children 74a6a43bf614
rev   line source
pascal@2308 1 # SliTaz package receipt.
pascal@2308 2
pascal@2308 3 PACKAGE="dia"
pascal@2308 4 VERSION="0.96.1"
pascal@2308 5 CATEGORY="office"
pascal@2308 6 SHORT_DESC="GTK+ based diagram creation program."
pascal@2308 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2308 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@2308 9 WEB_SITE="http://projects.gnome.org/dia/"
pascal@2308 10 WGET_URL="ftp://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@2488 11 DEPENDS="gtk+ libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \
pascal@2514 12 libxslt popt xorg-libXdamage"
claudinei@3414 13 BUILD_DEPENDS="pkg-config gtk+-dev libxml2-dev freetype-dev intltool \
claudinei@3414 14 fontconfig-dev glib-dev atk-dev pango-dev python-pyxml zlib-dev libxslt \
claudinei@3414 15 libart_lgpl-dev libart_lgpl pygtk file libxslt-dev"
pascal@2308 16
pascal@2308 17 # Rules to configure and make the package.
pascal@2308 18 compile_rules()
pascal@2308 19 {
pascal@2308 20 cd $src
pascal@2308 21 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2312 22 --with-python --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2308 23 make &&
pascal@2308 24 make DESTDIR=$PWD/_pkg install
pascal@2308 25 }
pascal@2308 26
pascal@2308 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2308 28 genpkg_rules()
pascal@2308 29 {
pascal@2375 30 mkdir -p $fs/usr/lib $fs/usr/share/locale
pascal@2375 31 cp -a $_pkg/usr/lib/dia $fs/usr/lib
pascal@2308 32 cp -a $_pkg/usr/share/dia $fs/usr/share
pascal@2308 33 cp -a $_pkg/usr/share/oaf $fs/usr/share
pascal@2308 34 cp -a $_pkg/usr/share/omf $fs/usr/share
pascal@2308 35 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
pascal@2308 36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pascal@2308 37 cp -a $_pkg/usr/share/help $fs/usr/share
pascal@2308 38 cp -a $_pkg/usr/share/applications $fs/usr/share
pascal@2308 39 cp -a $_pkg/usr/share/mime-info $fs/usr/share
pascal@2308 40 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pascal@2308 41 cp -a $_pkg/usr/bin $fs/usr
pascal@2308 42 }
pascal@2308 43