wok-next annotate dia/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | c022997c7a57 |
children | d5aab818505e |
rev | line source |
---|---|
al@20569 | 1 # SliTaz package receipt v2. |
slaxemulator@10852 | 2 |
slaxemulator@10852 | 3 PACKAGE="dia" |
psychomaniak@18544 | 4 VERSION="0.97.3" |
slaxemulator@10852 | 5 CATEGORY="office" |
al@20569 | 6 SHORT_DESC="GTK+ based diagram creation program" |
slaxemulator@10852 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20569 | 9 WEB_SITE="http://projects.gnome.org/dia/" |
al@20569 | 10 |
psychomaniak@18544 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@10852 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@10852 | 13 |
al@21017 | 14 BUILD_DEPENDS="gtk2-dev libxml2-dev freetype-dev intltool \ |
slaxemulator@10852 | 15 fontconfig-dev glib-dev atk-dev pango-dev python-pyxml zlib-dev libxslt \ |
al@20932 | 16 libart_lgpl-dev libart_lgpl python-pygtk file libxslt-dev expat-dev python-dev \ |
psychomaniak@18544 | 17 docbook-xsl docbook-xml cairo-dev pango-dev librsvg-dev" |
slaxemulator@10852 | 18 |
al@20569 | 19 compile_rules() { |
psychomaniak@18544 | 20 #find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' |
psychomaniak@18544 | 21 #sed -i 's|stdio.h>|&\n#include <sys/stat.h>|' plug-ins/vdx/vdx-export.c |
al@20569 | 22 |
al@20569 | 23 ./configure \ |
al@20569 | 24 --with-python \ |
psychomaniak@18544 | 25 --with-cairo \ |
slaxemulator@10852 | 26 --disable-gnome \ |
slaxemulator@10852 | 27 $CONFIGURE_ARGS && |
al@20569 | 28 fix libtool && |
slaxemulator@10852 | 29 sed -i 's# data doc tests installer# data tests installer#' Makefile && |
gokhlayeh@11574 | 30 make $MAKEFLAGS && |
slaxemulator@10852 | 31 make DESTDIR=$DESTDIR install |
slaxemulator@10852 | 32 } |
slaxemulator@10852 | 33 |
al@20569 | 34 genpkg_rules() { |
al@20569 | 35 copy @std |
al@21017 | 36 DEPENDS="gtk2 libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \ |
al@20569 | 37 libxslt popt xorg-libXdamage librsvg" |
al@20569 | 38 TAGS="office diagram creator editor visio" |
slaxemulator@10852 | 39 } |