wok-4.x annotate dia/receipt @ rev 2308
Add dia
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 25 12:20:15 2009 +0000 (2009-02-25) |
parents | |
children | 3d1a3740a923 |
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@2308 | 11 DEPENDS="gtk+ libxml2 freetype fontconfig glib atk pango" |
pascal@2308 | 12 BUILD_DEPENDS="pkg-config gtk+-dev libxml2-dev freetype-dev intltool fontconfig-dev glib-dev atk-dev pango-dev" |
pascal@2308 | 13 |
pascal@2308 | 14 # Rules to configure and make the package. |
pascal@2308 | 15 compile_rules() |
pascal@2308 | 16 { |
pascal@2308 | 17 cd $src |
pascal@2308 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2308 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2308 | 20 make && |
pascal@2308 | 21 make DESTDIR=$PWD/_pkg install |
pascal@2308 | 22 } |
pascal@2308 | 23 |
pascal@2308 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2308 | 25 genpkg_rules() |
pascal@2308 | 26 { |
pascal@2308 | 27 mkdir -p $fs/usr/lib/dia $fs/usr/share/locale |
pascal@2308 | 28 cp -a $_pkg/usr/lib/dia/*.so* $fs/usr/lib/dia |
pascal@2308 | 29 cp -a $_pkg/usr/share/dia $fs/usr/share |
pascal@2308 | 30 cp -a $_pkg/usr/share/oaf $fs/usr/share |
pascal@2308 | 31 cp -a $_pkg/usr/share/omf $fs/usr/share |
pascal@2308 | 32 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale |
pascal@2308 | 33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pascal@2308 | 34 cp -a $_pkg/usr/share/help $fs/usr/share |
pascal@2308 | 35 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@2308 | 36 cp -a $_pkg/usr/share/mime-info $fs/usr/share |
pascal@2308 | 37 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pascal@2308 | 38 cp -a $_pkg/usr/bin $fs/usr |
pascal@2308 | 39 } |
pascal@2308 | 40 |