wok-next view abiword/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 835b3b8ce6ac |
children | a244e109372e |
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="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://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="$DEPENDS gtk+3-dev pygobject-dev gobject-introspection-dev \
17 pygobject3 fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev \
18 libgsf-dev enchant-dev wv-dev libcroco-dev libboost-dev librsvg-dev gtk-doc \
19 bison goffice-dev intltool gettext xorg-dev zlib-dev "
20 # libgnomeprint-dev libgnomeprintui-dev libgnomecanvas-dev
21 SPLIT="abiword-plugins abiword abiword-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=$DESTDIR install || return 1
39 cd plugins
40 make DESTDIR=$DESTDIR 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 xorg-libXdamage fribidi libxslt"
49 TAGS="doc odf docx"
50 ;;
51 abiword)
52 copy @std @rm
53 TAGS="word doc office"
54 DEPENDS="gtk+3 fribidi libglade popt libxml2 libart_lgpl \
55 libgsf glib enchant wv xorg-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 }