wok-next diff abiword-plugins/receipt @ rev 5273

Up: abiword-plugins (now sourced from abiword)
author Rohit Joshi <jozee@slitaz.org>
date Thu Apr 15 09:31:38 2010 -0400 (2010-04-15)
parents 395ec8205cff
children cc80cd019794
line diff
     1.1 --- a/abiword-plugins/receipt	Sun Feb 28 12:41:24 2010 +0100
     1.2 +++ b/abiword-plugins/receipt	Thu Apr 15 09:31:38 2010 -0400
     1.3 @@ -1,51 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="abiword-plugins"
     1.7 -VERSION="2.6.8"
     1.8 +VERSION="2.8.4"
     1.9  CATEGORY="office"
    1.10 -SHORT_DESC="Extra plugins for Abiword (OpenDocument, Wikidepia, etc)."
    1.11 +SHORT_DESC="Extra plugins for Abiword (MSWord, OpenDocument, Wikidepia, etc)."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  DEPENDS="abiword libgio readline xorg-libXdamage fribidi libxslt"
    1.14 -BUILD_DEPENDS="abiword-dev fribidi"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WANTED="abiword"
    1.17  WEB_SITE="http://www.abisource.com/"
    1.18 -WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL"
    1.19 -TAGS="doc odf"
    1.20 -
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	cd $src
    1.25 -	while read file; do
    1.26 -		[ -f done.$file ] && continue
    1.27 -		echo "Apply $file..."
    1.28 -		patch -p1 < ../stuff/$file || return 1
    1.29 -		touch done.$file
    1.30 -	done <<EOT
    1.31 -gcc44.u
    1.32 -EOT
    1.33 -	./configure \
    1.34 -		--prefix=/usr \
    1.35 -		--infodir=/usr/share/info \
    1.36 -		--mandir=/usr/share/man \
    1.37 -		--with-abiword=$WOK/abiword/abiword-$VERSION \
    1.38 -		--disable-abicollab \
    1.39 -		--disable-librsvg \
    1.40 -		--disable-docbook \
    1.41 -		--disable-OpenXML \
    1.42 -		--disable-wordperfect \
    1.43 -		--disable-xhtml \
    1.44 -		$CONFIGURE_ARGS &&
    1.45 -	make &&
    1.46 -	make DESTDIR=$src/_pkg install
    1.47 -}
    1.48 +TAGS="doc odf docx"
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.51  genpkg_rules()
    1.52  {
    1.53 -	mkdir -p $fs/usr/lib/abiword-2.6/plugins $fs/usr/share
    1.54 -	cp -a $_pkg/usr/lib/abiword-2.6/plugins/*.so \
    1.55 -		$fs/usr/lib/abiword-2.6/plugins
    1.56 -	cp -a $_pkg/usr/share/abiword-2.6 $fs/usr/share
    1.57 +	mkdir -p $fs/usr/lib/abiword-2.8/plugins $fs/usr/share
    1.58 +
    1.59 +	cp -a $_pkg/usr/lib/abiword-*/plugins/*.so \
    1.60 +		$fs/usr/lib/abiword-2.8/plugins
    1.61  }
    1.62