wok view abiword/receipt @ rev 3645
Upgrade: db (4.5.20 to 4.7.25)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Mon Jul 06 16:50:15 2009 +0000 (2009-07-06) |
parents | b292c68175ad |
children | f5677e5ac179 |
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"
17 TAGS="word doc"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --enable-extra-optimization \
28 --enable-printing \
29 $CONFIGURE_ARGS
30 make
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/pixmaps
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/share/abiword-* $fs/usr/share
40 # Non standard pixmap
41 cp $_pkg/usr/share/icons/abiword_48.png \
42 $fs/usr/share/pixmaps/abiword.png
43 # Non-standard locale use : get english, spanish, french, german
44 rm $fs/usr/share/abiword-*/strings/*
45 rm $fs/usr/share/abiword-*/templates/*
46 rm $fs/usr/share/abiword-*/system.pro*
47 cp $_pkg/usr/share/abiword-*/strings/d* \
48 $_pkg/usr/share/abiword-*/strings/e* \
49 $_pkg/usr/share/abiword-*/strings/f* \
50 $fs/usr/share/abiword-*/strings/
51 cp $_pkg/usr/share/abiword-*/templates/normal.awt \
52 $_pkg/usr/share/abiword-*/templates/normal.awt-d* \
53 $_pkg/usr/share/abiword-*/templates/normal.awt-e* \
54 $_pkg/usr/share/abiword-*/templates/normal.awt-f* \
55 $fs/usr/share/abiword-*/templates/
56 cp $_pkg/usr/share/abiword-*/system.profile \
57 $_pkg/usr/share/abiword-*/system.profile-d* \
58 $_pkg/usr/share/abiword-*/system.profile-e* \
59 $_pkg/usr/share/abiword-*/system.profile-f* \
60 $fs/usr/share/abiword-*/
62 }