wok-6.x view abiword/receipt @ rev 5290

tazbb: rollback last commit
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 18 21:01:54 2010 +0200 (2010-04-18)
parents 4df8a53682e8
children c603a1546d49
line source
1 # SliTaz package receipt.
3 PACKAGE="abiword"
4 VERSION="2.8.4"
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 BUILD_DEPENDS="$DEPENDS gtk+-dev libgnomeprint-dev libgnomeprintui-dev \
11 fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev libgsf-dev \
12 enchant-dev wv-dev libgnomecanvas-dev libcroco-dev libboost-dev"
13 SUGGESTED="abiword-extras"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WEB_SITE="http://www.abisource.com/"
16 WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL"
17 TAGS="word doc office"
19 # Rules to configure and make the package. --enable-extra-optimization \
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --enable-plugins \
28 --enable-clipart \
29 --enable-templates \
30 --disable-collab-backend-sugar \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$PWD/_pkg install
35 cd plugins
36 make DESTDIR=$src/_pkg install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/abiword-2.8/plugins
44 cp -a $_pkg/usr/bin $fs/usr
45 cp -a $_pkg/usr/lib/*.so $fs/usr/lib
47 cp -a $_pkg/usr/share/abiword-* $fs/usr/share
48 # Non standard pixmap
49 cp $_pkg/usr/share/icons/abiword_48.png \
50 $fs/usr/share/pixmaps/abiword.png
51 # Non-standard locale use : get english, spanish, french, german
52 rm $fs/usr/share/abiword-*/strings/*
53 rm $fs/usr/share/abiword-*/templates/*
54 rm $fs/usr/share/abiword-*/system.pro*
55 cp $_pkg/usr/share/abiword-*/strings/d* \
56 $_pkg/usr/share/abiword-*/strings/e* \
57 $_pkg/usr/share/abiword-*/strings/f* \
58 $fs/usr/share/abiword-*/strings/
59 cp $_pkg/usr/share/abiword-*/templates/normal.awt \
60 $_pkg/usr/share/abiword-*/templates/normal.awt-d* \
61 $_pkg/usr/share/abiword-*/templates/normal.awt-e* \
62 $_pkg/usr/share/abiword-*/templates/normal.awt-f* \
63 $fs/usr/share/abiword-*/templates/
65 cp $_pkg/usr/share/abiword-*/templates/*.awt $fs/usr/share/abiword-*/templates/
67 cp $_pkg/usr/share/abiword-*/system.profile \
68 $_pkg/usr/share/abiword-*/system.profile-d* \
69 $_pkg/usr/share/abiword-*/system.profile-e* \
70 $_pkg/usr/share/abiword-*/system.profile-f* \
71 $fs/usr/share/abiword-*/
73 }