wok view abiword/receipt @ rev 11765
up mtr (0.82) and added description
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 22 17:33:57 2012 -0800 (2012-02-22) |
parents | af8b12d69e94 |
children | 683d3c6a898a |
line source
1 # SliTaz package receipt.
3 PACKAGE="abiword"
4 VERSION="2.8.6"
5 CATEGORY="office"
6 SHORT_DESC="Light and speed word processing application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libgnomeprint libgnomeprintui libgnomecanvas fribidi libglade \
9 popt libxml2 libart_lgpl libgsf libgio enchant wv xorg-libXdamage gcc-lib-base librsvg \
10 goffice glibc-locale"
11 BUILD_DEPENDS="$DEPENDS gtk+-dev libgnomeprint-dev libgnomeprintui-dev \
12 fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev libgsf-dev \
13 enchant-dev wv-dev libgnomecanvas-dev libcroco-dev libboost-dev librsvg-dev"
14 SUGGESTED="abiword-extras"
15 TARBALL="$PACKAGE-$VERSION.tar.gz"
16 WEB_SITE="http://www.abisource.com/"
17 WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL"
18 TAGS="word doc office"
20 # Rules to configure and make the package. --enable-extra-optimization \
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --enable-plugins \
29 --enable-clipart \
30 --enable-templates \
31 --disable-collab-backend-sugar \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS &&
34 make DESTDIR=$PWD/_pkg install
36 cd plugins
37 make DESTDIR=$src/_pkg install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/abiword-2.8/plugins $fs/usr/share/icons
45 cp -a $_pkg/usr/bin $fs/usr
46 cp -a $_pkg/usr/lib/*.so $fs/usr/lib
48 cp -a $_pkg/usr/share/abiword-* $fs/usr/share
49 # Non standard pixmap
50 cp $_pkg/usr/share/icons/abiword_48.png \
51 $fs/usr/share/pixmaps/abiword.png
52 # fix error when abiword is run in command line
53 ln -sf /usr/share/pixmaps/abiword.png $fs/usr/share/icons/abiword_48.png
54 # Non-standard locale use : get english, spanish, french, german
55 rm $fs/usr/share/abiword-*/strings/*
56 rm $fs/usr/share/abiword-*/templates/*
57 rm $fs/usr/share/abiword-*/system.pro*
58 cp $_pkg/usr/share/abiword-*/strings/d* \
59 $_pkg/usr/share/abiword-*/strings/e* \
60 $_pkg/usr/share/abiword-*/strings/f* \
61 $fs/usr/share/abiword-*/strings/
62 cp $_pkg/usr/share/abiword-*/templates/normal.awt \
63 $_pkg/usr/share/abiword-*/templates/normal.awt-d* \
64 $_pkg/usr/share/abiword-*/templates/normal.awt-e* \
65 $_pkg/usr/share/abiword-*/templates/normal.awt-f* \
66 $fs/usr/share/abiword-*/templates/
68 cp $_pkg/usr/share/abiword-*/templates/*.awt $fs/usr/share/abiword-*/templates/
70 cp $_pkg/usr/share/abiword-*/system.profile \
71 $_pkg/usr/share/abiword-*/system.profile-d* \
72 $_pkg/usr/share/abiword-*/system.profile-e* \
73 $_pkg/usr/share/abiword-*/system.profile-f* \
74 $fs/usr/share/abiword-*/
76 }