wok-next view abiword/receipt @ rev 21387

updated nfs-utils again (1.3.0 -> 2.4.3)
author Hans-G?nter Theisgen
date Fri Apr 17 14:10:17 2020 +0100 (2020-04-17)
parents d5aab818505e
children 90c6216ac75f
line source
1 # SliTaz package receipt v2.
3 PACKAGE="abiword"
4 VERSION="3.0.2"
5 CATEGORY="office"
6 SHORT_DESC="Light and speed word processing application"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.abisource.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL"
13 LOCALES="ar ca cs da de el en es fa fi fr hr hu id is it ja nb nl nn pl pt ro \
14 ru sl sv tr uk vi zh"
16 BUILD_DEPENDS="gtk3-dev python-pygobject-dev gobject-introspection-dev \
17 fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev \
18 libgsf-dev enchant-dev wv-dev libcroco-dev boost-dev librsvg-dev gtk-doc \
19 bison goffice-dev intltool gettext-dev xorg-dev zlib-dev libjpeg-turbo-dev"
20 # libgnomeprint-dev libgnomeprintui-dev libgnomecanvas-dev
21 SPLIT="$PACKAGE-plugins $PACKAGE $PACKAGE-dev"
23 compile_rules() {
24 sed -i 's|glib/gmacros.h|glib.h|' goffice-bits/goffice/app/goffice-app.h
25 sed -i 's|glib/gerror.h|glib.h|' src/af/util/xp/ut_go_file.h
26 sed -i 's|--no-undefined||' src/Makefile*
27 sed -i 's|cat \$(BUILTIN_STAMP)|& 2> /dev/null|' src/plugins/Makefile*
29 ./configure \
30 --enable-plugins \
31 --enable-clipart \
32 --enable-templates \
33 --disable-collab-backend-sugar \
34 $CONFIGURE_ARGS &&
35 fix libtool &&
36 make $MAKEFLAGS &&
37 make DESTDIR=$install install || return 1
39 cd plugins
40 make DESTDIR=$install install
41 }
43 genpkg_rules() {
44 case $PACKAGE in
45 abiword-plugins)
46 copy plugins/*.so
47 CAT="office|extra plugins: MSWord, OpenDocument, Wikipedia, etc."
48 DEPENDS="abiword glib readline libxdamage fribidi libxslt"
49 TAGS="doc odf docx"
50 ;;
51 abiword)
52 copy @std @rm
53 TAGS="word doc office"
54 DEPENDS="gtk3 fribidi libglade popt libxml2 libart_lgpl \
55 libgsf glib enchant wv libxdamage gcc-lib-base \
56 librsvg goffice glibc-locale libffi"
57 SUGGESTED="abiword-plugins"
59 # Non-standard locale use: get all official SliTaz locales
60 rm $fs/usr/share/abiword-*/strings/*
61 rm $fs/usr/share/abiword-*/system.profile-*
62 rm $fs/usr/share/abiword-*/templates/normal.awt-*
64 for LOCALE in $LOCALES; do
65 cp $install/usr/share/abiword-*/strings/$LOCALE*.strings \
66 $fs/usr/share/abiword-*/strings/
67 cp $install/usr/share/abiword-*/system.profile-$LOCALE* \
68 $fs/usr/share/abiword-*/
69 cp $install/usr/share/abiword-*/templates/normal.awt-$LOCALE* \
70 $fs/usr/share/abiword-*/templates/
71 done 2>/dev/null
72 ;;
73 abiword-dev)
74 copy @dev
75 ;;
76 esac
77 }