wok-6.x annotate dia/receipt @ rev 2514
d*-e*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 21:42:10 2009 +0000 (2009-03-16) |
parents | 1327d60074b2 |
children | ce672dcec847 |
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" |
pascal@2312 | 13 BUILD_DEPENDS="pkg-config gtk+-dev libxml2-dev freetype-dev intltool fontconfig-dev glib-dev atk-dev pango-dev pyxml zlib-dev libxslt libart_lgpl-dev libart_lgpl pygtk file" |
pascal@2308 | 14 |
pascal@2308 | 15 # Rules to configure and make the package. |
pascal@2308 | 16 compile_rules() |
pascal@2308 | 17 { |
pascal@2308 | 18 cd $src |
pascal@2308 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2312 | 20 --with-python --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2308 | 21 make && |
pascal@2308 | 22 make DESTDIR=$PWD/_pkg install |
pascal@2308 | 23 } |
pascal@2308 | 24 |
pascal@2308 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2308 | 26 genpkg_rules() |
pascal@2308 | 27 { |
pascal@2375 | 28 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pascal@2375 | 29 cp -a $_pkg/usr/lib/dia $fs/usr/lib |
pascal@2308 | 30 cp -a $_pkg/usr/share/dia $fs/usr/share |
pascal@2308 | 31 cp -a $_pkg/usr/share/oaf $fs/usr/share |
pascal@2308 | 32 cp -a $_pkg/usr/share/omf $fs/usr/share |
pascal@2308 | 33 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale |
pascal@2308 | 34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pascal@2308 | 35 cp -a $_pkg/usr/share/help $fs/usr/share |
pascal@2308 | 36 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@2308 | 37 cp -a $_pkg/usr/share/mime-info $fs/usr/share |
pascal@2308 | 38 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pascal@2308 | 39 cp -a $_pkg/usr/bin $fs/usr |
pascal@2308 | 40 } |
pascal@2308 | 41 |