wok-next view abiword/receipt @ rev 664

Fixed cups install dir (Thanks Erjo) and fix init script
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 23 01:01:46 2008 +0200 (2008-04-23)
parents eb4e6a1af180
children 2fe94d04fc6f
line source
1 # SliTaz package receipt.
3 PACKAGE="abiword"
4 VERSION="2.6.2"
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 enchant wv"
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/2.6.2/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 $CONFIGURE_ARGS
28 make
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/share/abiword-* $fs/usr/share
38 # Non standard pixmap
39 cp $_pkg/usr/share/icons/abiword_48.png \
40 $fs/usr/share/pixmaps/abiword.png
41 }