wok annotate dia/receipt @ rev 5917
Up busybox (1.17.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 28 11:45:40 2010 +0200 (2010-07-28) |
parents | 74a6a43bf614 |
children | 4c54a5799c25 |
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" |
jozee@4934 | 16 TAGS="office diagram creator editor visio" |
pascal@2308 | 17 |
pascal@2308 | 18 # Rules to configure and make the package. |
pascal@2308 | 19 compile_rules() |
pascal@2308 | 20 { |
pascal@2308 | 21 cd $src |
pascal@2308 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2312 | 23 --with-python --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@5804 | 24 make -j 4 && |
pascal@2308 | 25 make DESTDIR=$PWD/_pkg install |
pascal@2308 | 26 } |
pascal@2308 | 27 |
pascal@2308 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2308 | 29 genpkg_rules() |
pascal@2308 | 30 { |
pascal@2375 | 31 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pascal@2375 | 32 cp -a $_pkg/usr/lib/dia $fs/usr/lib |
pascal@2308 | 33 cp -a $_pkg/usr/share/dia $fs/usr/share |
pascal@2308 | 34 cp -a $_pkg/usr/share/oaf $fs/usr/share |
pascal@2308 | 35 cp -a $_pkg/usr/share/omf $fs/usr/share |
pascal@2308 | 36 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale |
pascal@2308 | 37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pascal@2308 | 38 cp -a $_pkg/usr/share/help $fs/usr/share |
pascal@2308 | 39 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@2308 | 40 cp -a $_pkg/usr/share/mime-info $fs/usr/share |
pascal@2308 | 41 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pascal@2308 | 42 cp -a $_pkg/usr/bin $fs/usr |
pascal@2308 | 43 } |
pascal@2308 | 44 |