wok-4.x view abiword/receipt @ rev 3094

wbar: Use installed icons and have configs in /etc/wbar (FSH)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 17 00:53:23 2009 +0200 (2009-05-17)
parents e75b1d632d66
children 2bbc0ef3f1d2
line source
1 # SliTaz package receipt.
3 PACKAGE="abiword"
4 VERSION="2.6.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"
10 BUILD_DEPENDS="gtk+-dev libgnomeprint-dev libgnomeprintui-dev libgnomecanvas-dev
11 fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev
12 libgsf-dev enchant-dev wv-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"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --enable-extra-optimization \
27 --enable-printing \
28 $CONFIGURE_ARGS
29 make
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/pixmaps
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/share/abiword-* $fs/usr/share
39 # Non standard pixmap
40 cp $_pkg/usr/share/icons/abiword_48.png \
41 $fs/usr/share/pixmaps/abiword.png
42 # Non-standard locale use : get english, spanish, french, german
43 rm $fs/usr/share/abiword-*/strings/*
44 rm $fs/usr/share/abiword-*/templates/*
45 rm $fs/usr/share/abiword-*/system.pro*
46 cp $_pkg/usr/share/abiword-*/strings/d* \
47 $_pkg/usr/share/abiword-*/strings/e* \
48 $_pkg/usr/share/abiword-*/strings/f* \
49 $fs/usr/share/abiword-*/strings/
50 cp $_pkg/usr/share/abiword-*/templates/normal.awt \
51 $_pkg/usr/share/abiword-*/templates/normal.awt-d* \
52 $_pkg/usr/share/abiword-*/templates/normal.awt-e* \
53 $_pkg/usr/share/abiword-*/templates/normal.awt-f* \
54 $fs/usr/share/abiword-*/templates/
55 cp $_pkg/usr/share/abiword-*/system.profile \
56 $_pkg/usr/share/abiword-*/system.profile-d* \
57 $_pkg/usr/share/abiword-*/system.profile-e* \
58 $_pkg/usr/share/abiword-*/system.profile-f* \
59 $fs/usr/share/abiword-*/
61 }