wok-next annotate abiword-plugins/receipt @ rev 3724

Update: xorg-libXtst (DEPENDS and BUILD_DEPENDS)
author Matthew Sheets <rcx@zoominternet.net>
date Tue Jul 21 16:59:26 2009 +0000 (2009-07-21)
parents 2bbc0ef3f1d2
children f5677e5ac179
rev   line source
pankso@733 1 # SliTaz package receipt.
pankso@733 2
pankso@733 3 PACKAGE="abiword-plugins"
pankso@1059 4 VERSION="2.6.4"
pankso@733 5 CATEGORY="office"
pankso@733 6 SHORT_DESC="Extra plugins for Abiword (OpenDocument, Wikidepia, etc)."
pankso@733 7 MAINTAINER="pankso@slitaz.org"
pascal@2513 8 DEPENDS="abiword libgio readline xorg-libXdamage fribidi"
pascal@1524 9 BUILD_DEPENDS="abiword-dev fribidi"
pankso@733 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@733 11 WEB_SITE="http://www.abisource.com/"
pankso@733 12 WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL"
jozee@3563 13 TAGS="doc odf"
pankso@733 14
pankso@733 15 # Rules to configure and make the package.
pankso@733 16 compile_rules()
pankso@733 17 {
pankso@733 18 cd $src
pascal@3639 19 while read file; do
pascal@3639 20 [ -f done.$file ] && continue
pascal@3639 21 echo "Apply $file..."
pascal@3639 22 patch -p1 < ../stuff/$file || return 1
pascal@3639 23 touch done.$file
pascal@3639 24 done <<EOT
pascal@3639 25 gcc44.u
pascal@3639 26 EOT
pankso@733 27 ./configure \
pankso@733 28 --prefix=/usr \
pankso@733 29 --infodir=/usr/share/info \
pankso@733 30 --mandir=/usr/share/man \
pankso@733 31 --with-abiword=$WOK/abiword/abiword-$VERSION \
pankso@733 32 --disable-abicollab \
pankso@733 33 --disable-librsvg \
pankso@733 34 --disable-docbook \
pankso@733 35 --disable-OpenXML \
pankso@733 36 --disable-wordperfect \
pankso@733 37 --disable-xhtml \
pascal@1524 38 $CONFIGURE_ARGS &&
pascal@1524 39 make &&
pankso@733 40 make DESTDIR=$src/_pkg install
pankso@733 41 }
pankso@733 42
pankso@733 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@733 44 genpkg_rules()
pankso@733 45 {
pankso@733 46 mkdir -p $fs/usr/lib/abiword-2.6/plugins $fs/usr/share
pankso@733 47 cp -a $_pkg/usr/lib/abiword-2.6/plugins/*.so \
pankso@733 48 $fs/usr/lib/abiword-2.6/plugins
pankso@733 49 cp -a $_pkg/usr/share/abiword-2.6 $fs/usr/share
pankso@733 50 }
pankso@733 51