wok-stable view abiword-plugins/receipt @ rev 4328
Add: mjpegtools devel packages (mjpegtools-dev)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 30 00:59:57 2009 +0200 (2009-09-30) |
parents | 45c9d6e41e67 |
children | 395ec8205cff |
line source
1 # SliTaz package receipt.
3 PACKAGE="abiword-plugins"
4 VERSION="2.6.8"
5 CATEGORY="office"
6 SHORT_DESC="Extra plugins for Abiword (OpenDocument, Wikidepia, etc)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="abiword libgio readline xorg-libXdamage fribidi"
9 BUILD_DEPENDS="abiword-dev fribidi"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.abisource.com/"
12 WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL"
13 TAGS="doc odf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 while read file; do
20 [ -f done.$file ] && continue
21 echo "Apply $file..."
22 patch -p1 < ../stuff/$file || return 1
23 touch done.$file
24 done <<EOT
25 gcc44.u
26 EOT
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --with-abiword=$WOK/abiword/abiword-$VERSION \
32 --disable-abicollab \
33 --disable-librsvg \
34 --disable-docbook \
35 --disable-OpenXML \
36 --disable-wordperfect \
37 --disable-xhtml \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$src/_pkg install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib/abiword-2.6/plugins $fs/usr/share
47 cp -a $_pkg/usr/lib/abiword-2.6/plugins/*.so \
48 $fs/usr/lib/abiword-2.6/plugins
49 cp -a $_pkg/usr/share/abiword-2.6 $fs/usr/share
50 }