wok view abiword/receipt @ rev 332

Add: abiword-plugins (Wikipedia, etc) and BUILD_DEPENDS for abi
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 04 17:30:12 2008 +0100 (2008-03-04)
parents de8dad81f96a
children eb4e6a1af180
line source
1 # SliTaz package receipt.
3 PACKAGE="abiword"
4 VERSION="2.4.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"
10 BUILD_DEPENDS="gtk+-dev libgnomeprint-dev libgnomeprintui-dev libgnomecanvas-dev
11 fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev"
12 SUGGESTED="abiword-plugins"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.abisource.com/"
15 WGET_URL="http://www.abisource.com/downloads/abiword/2.4.6/source/$TARBALL"
16 JWM_MENU='Productivity:<Program icon="abiword.png" label="AbiWord">abiword</Program>'
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/abi
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=$src/_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/lib $fs/usr
38 cp -a $_pkg/usr/share/AbiSuite-* $fs/usr/share
39 # Non standard pixmap
40 cp $_pkg/usr/share/icons/abiword_48.png \
41 $fs/usr/share/pixmaps/abiword.png
42 }