wok-6.x view abiword/receipt @ rev 6305
Fixed some --disable options in gutenprint.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 16 19:21:25 2010 +0000 (2010-09-16) |
parents | 96a646809281 |
children | 1abaa1223e53 |
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 -j 4 &&
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
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 # Non-standard locale use : get english, spanish, french, german
53 rm $fs/usr/share/abiword-*/strings/*
54 rm $fs/usr/share/abiword-*/templates/*
55 rm $fs/usr/share/abiword-*/system.pro*
56 cp $_pkg/usr/share/abiword-*/strings/d* \
57 $_pkg/usr/share/abiword-*/strings/e* \
58 $_pkg/usr/share/abiword-*/strings/f* \
59 $fs/usr/share/abiword-*/strings/
60 cp $_pkg/usr/share/abiword-*/templates/normal.awt \
61 $_pkg/usr/share/abiword-*/templates/normal.awt-d* \
62 $_pkg/usr/share/abiword-*/templates/normal.awt-e* \
63 $_pkg/usr/share/abiword-*/templates/normal.awt-f* \
64 $fs/usr/share/abiword-*/templates/
66 cp $_pkg/usr/share/abiword-*/templates/*.awt $fs/usr/share/abiword-*/templates/
68 cp $_pkg/usr/share/abiword-*/system.profile \
69 $_pkg/usr/share/abiword-*/system.profile-d* \
70 $_pkg/usr/share/abiword-*/system.profile-e* \
71 $_pkg/usr/share/abiword-*/system.profile-f* \
72 $fs/usr/share/abiword-*/
74 }