wok-next annotate abiword/receipt @ rev 21686
updated glm (0.9.3.2 -> 0.9.9.8)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 16:57:49 2020 +0100 (2020-06-29) |
parents | 5669e8b3be70 |
children |
rev | line source |
---|---|
pascal@20185 | 1 # SliTaz package receipt v2. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="abiword" |
Hans-G?nter@21476 | 4 VERSION="3.0.4" |
pankso@205 | 5 CATEGORY="office" |
Hans-G?nter@21476 | 6 SHORT_DESC="Light and fast word processing application" |
Hans-G?nter@21476 | 7 MAINTAINER="maintainer@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://www.abisource.com/" |
al@20500 | 10 |
pascal@15002 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15002 | 12 WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL" |
al@20500 | 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 \ |
al@20500 | 14 ru sl sv tr uk vi zh" |
pascal@15002 | 15 |
Hans-G?nter@21476 | 16 BUILD_DEPENDS="bison boost-dev enchant-dev fribidi-dev gettext-dev goffice-dev |
Hans-G?nter@21476 | 17 gobject-introspection-dev gtk-doc gtk3-dev intltool libart_lgpl-dev |
Hans-G?nter@21476 | 18 libcroco-dev libglade-dev libgsf-dev libjpeg-turbo-dev librsvg-dev |
Hans-G?nter@21476 | 19 libxml2-dev popt-dev python-pygobject-dev wv-dev xorg-dev zlib-dev" |
al@20500 | 20 # libgnomeprint-dev libgnomeprintui-dev libgnomecanvas-dev |
al@21020 | 21 SPLIT="$PACKAGE-plugins $PACKAGE $PACKAGE-dev" |
pankso@46 | 22 |
Hans-G?nter@21476 | 23 compile_rules() |
Hans-G?nter@21476 | 24 { |
Hans-G?nter@21476 | 25 sed -i 's|glib/gmacros.h|glib.h|' \ |
Hans-G?nter@21476 | 26 goffice-bits/goffice/app/goffice-app.h |
Hans-G?nter@21476 | 27 sed -i 's|glib/gerror.h|glib.h|' \ |
Hans-G?nter@21476 | 28 src/af/util/xp/ut_go_file.h |
Hans-G?nter@21476 | 29 sed -i 's|--no-undefined||' \ |
Hans-G?nter@21476 | 30 src/Makefile* |
Hans-G?nter@21476 | 31 sed -i 's|cat \$(BUILTIN_STAMP)|& 2> /dev/null|' \ |
Hans-G?nter@21476 | 32 src/plugins/Makefile* |
al@20500 | 33 |
Hans-G?nter@21476 | 34 ./configure \ |
Hans-G?nter@21476 | 35 --enable-clipart \ |
Hans-G?nter@21476 | 36 --disable-collab-backend-sugar \ |
Hans-G?nter@21476 | 37 --enable-plugins \ |
Hans-G?nter@21476 | 38 --enable-templates \ |
pascal@4998 | 39 $CONFIGURE_ARGS && |
al@20569 | 40 fix libtool && |
gokhlayeh@11574 | 41 make $MAKEFLAGS && |
al@21020 | 42 make DESTDIR=$install install || return 1 |
al@20500 | 43 |
jozee@5272 | 44 cd plugins |
al@21020 | 45 make DESTDIR=$install install |
pankso@46 | 46 } |
pankso@46 | 47 |
Hans-G?nter@21476 | 48 genpkg_rules() |
Hans-G?nter@21476 | 49 { |
pascal@20185 | 50 case $PACKAGE in |
al@20500 | 51 abiword-plugins) |
al@20500 | 52 copy plugins/*.so |
al@20686 | 53 CAT="office|extra plugins: MSWord, OpenDocument, Wikipedia, etc." |
Hans-G?nter@21476 | 54 DEPENDS="abiword fribidi glib libxdamage libxslt readline" |
al@20500 | 55 TAGS="doc odf docx" |
al@20500 | 56 ;; |
al@20500 | 57 abiword) |
al@20500 | 58 copy @std @rm |
al@20500 | 59 TAGS="word doc office" |
Hans-G?nter@21476 | 60 DEPENDS="enchant fribidi gcc-lib-base glib glibc-locale |
Hans-G?nter@21476 | 61 goffice gtk3 libart_lgpl libffi libglade libgsf librsvg |
Hans-G?nter@21476 | 62 libxdamage libxml2 popt wv" |
al@20500 | 63 SUGGESTED="abiword-plugins" |
al@13066 | 64 |
al@20500 | 65 # Non-standard locale use: get all official SliTaz locales |
al@20500 | 66 rm $fs/usr/share/abiword-*/strings/* |
al@20500 | 67 rm $fs/usr/share/abiword-*/system.profile-* |
al@20500 | 68 rm $fs/usr/share/abiword-*/templates/normal.awt-* |
al@13066 | 69 |
Hans-G?nter@21476 | 70 for LOCALE in $LOCALES |
Hans-G?nter@21476 | 71 do |
al@20500 | 72 cp $install/usr/share/abiword-*/strings/$LOCALE*.strings \ |
al@20500 | 73 $fs/usr/share/abiword-*/strings/ |
al@20500 | 74 cp $install/usr/share/abiword-*/system.profile-$LOCALE* \ |
al@20500 | 75 $fs/usr/share/abiword-*/ |
pascal@20185 | 76 cp $install/usr/share/abiword-*/templates/normal.awt-$LOCALE* \ |
al@20500 | 77 $fs/usr/share/abiword-*/templates/ |
Hans-G?nter@21476 | 78 done 2>/dev/null |
al@20500 | 79 ;; |
al@20500 | 80 abiword-dev) |
al@20500 | 81 copy @dev |
al@20500 | 82 ;; |
pascal@20185 | 83 esac |
pankso@46 | 84 } |