wok-6.x annotate abiword-plugins/receipt @ rev 3917
syslinux/ifmem: pre-94 bioses support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 18 18:21:24 2009 +0200 (2009-08-18) |
parents | 45c9d6e41e67 |
children | 395ec8205cff |
rev | line source |
---|---|
pankso@733 | 1 # SliTaz package receipt. |
pankso@733 | 2 |
pankso@733 | 3 PACKAGE="abiword-plugins" |
pankso@3853 | 4 VERSION="2.6.8" |
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 |