wok annotate dia/receipt @ rev 8389
Up; tazpkg 4.2.5
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Feb 04 19:46:14 2011 +0100 (2011-02-04) |
parents | 22f34f1a2cd8 |
children |
rev | line source |
---|---|
pascal@2308 | 1 # SliTaz package receipt. |
pascal@2308 | 2 |
pascal@2308 | 3 PACKAGE="dia" |
slaxemulator@6369 | 4 VERSION="0.97.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 \ |
slaxemulator@6369 | 15 libart_lgpl-dev libart_lgpl pygtk file libxslt-dev expat-dev python-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 |
slaxemulator@6369 | 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 |
slaxemulator@6369 | 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 |
slaxemulator@6369 | 41 cp -a $_pkg/usr/share/icons/hicolor/16x16/apps/dia.png $fs/usr/share/pixmaps |
pascal@2308 | 42 cp -a $_pkg/usr/bin $fs/usr |
pascal@2308 | 43 } |
pascal@2308 | 44 |