wok-next view abiword/receipt @ rev 21495

updated arping (2.19 -> 2.21)
author Hans-G?nter Theisgen
date Thu Jun 18 21:25:23 2020 +0100 (2020-06-18)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="abiword"
4 VERSION="3.0.4"
5 CATEGORY="office"
6 SHORT_DESC="Light and fast word processing application"
7 MAINTAINER="maintainer@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="bison boost-dev enchant-dev fribidi-dev gettext-dev goffice-dev
17 gobject-introspection-dev gtk-doc gtk3-dev intltool libart_lgpl-dev
18 libcroco-dev libglade-dev libgsf-dev libjpeg-turbo-dev librsvg-dev
19 libxml2-dev popt-dev python-pygobject-dev wv-dev xorg-dev zlib-dev"
20 # libgnomeprint-dev libgnomeprintui-dev libgnomecanvas-dev
21 SPLIT="$PACKAGE-plugins $PACKAGE $PACKAGE-dev"
23 compile_rules()
24 {
25 sed -i 's|glib/gmacros.h|glib.h|' \
26 goffice-bits/goffice/app/goffice-app.h
27 sed -i 's|glib/gerror.h|glib.h|' \
28 src/af/util/xp/ut_go_file.h
29 sed -i 's|--no-undefined||' \
30 src/Makefile*
31 sed -i 's|cat \$(BUILTIN_STAMP)|& 2> /dev/null|' \
32 src/plugins/Makefile*
34 ./configure \
35 --enable-clipart \
36 --disable-collab-backend-sugar \
37 --enable-plugins \
38 --enable-templates \
39 $CONFIGURE_ARGS &&
40 fix libtool &&
41 make $MAKEFLAGS &&
42 make DESTDIR=$install install || return 1
44 cd plugins
45 make DESTDIR=$install install
46 }
48 genpkg_rules()
49 {
50 case $PACKAGE in
51 abiword-plugins)
52 copy plugins/*.so
53 CAT="office|extra plugins: MSWord, OpenDocument, Wikipedia, etc."
54 DEPENDS="abiword fribidi glib libxdamage libxslt readline"
55 TAGS="doc odf docx"
56 ;;
57 abiword)
58 copy @std @rm
59 TAGS="word doc office"
60 DEPENDS="enchant fribidi gcc-lib-base glib glibc-locale
61 goffice gtk3 libart_lgpl libffi libglade libgsf librsvg
62 libxdamage libxml2 popt wv"
63 SUGGESTED="abiword-plugins"
65 # Non-standard locale use: get all official SliTaz locales
66 rm $fs/usr/share/abiword-*/strings/*
67 rm $fs/usr/share/abiword-*/system.profile-*
68 rm $fs/usr/share/abiword-*/templates/normal.awt-*
70 for LOCALE in $LOCALES
71 do
72 cp $install/usr/share/abiword-*/strings/$LOCALE*.strings \
73 $fs/usr/share/abiword-*/strings/
74 cp $install/usr/share/abiword-*/system.profile-$LOCALE* \
75 $fs/usr/share/abiword-*/
76 cp $install/usr/share/abiword-*/templates/normal.awt-$LOCALE* \
77 $fs/usr/share/abiword-*/templates/
78 done 2>/dev/null
79 ;;
80 abiword-dev)
81 copy @dev
82 ;;
83 esac
84 }