wok-6.x diff abiword/receipt @ rev 15763

Up tazinst-gui (3.92)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 05 22:37:47 2014 +0100 (2014-01-05)
parents ded01e3a36b7
children 35c68ef9e128
line diff
     1.1 --- a/abiword/receipt	Mon Jan 07 11:36:36 2013 +0100
     1.2 +++ b/abiword/receipt	Sun Jan 05 22:37:47 2014 +0100
     1.3 @@ -5,18 +5,20 @@
     1.4  CATEGORY="office"
     1.5  SHORT_DESC="Light and speed word processing application."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8 +SUGGESTED="abiword-extras"
     1.9 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10 +WEB_SITE="http://www.abisource.com/"
    1.11 +WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL"
    1.12 +TAGS="word doc office"
    1.13 +LOCALES="cs da de es fr hu id it pt ru sl sv zh"
    1.14 +
    1.15  DEPENDS="gtk+ libgnomeprint libgnomeprintui libgnomecanvas fribidi libglade \
    1.16  popt libxml2 libart_lgpl libgsf libgio enchant wv xorg-libXdamage gcc-lib-base librsvg \
    1.17  goffice glibc-locale"
    1.18  BUILD_DEPENDS="$DEPENDS gtk+-dev libgnomeprint-dev libgnomeprintui-dev \
    1.19  fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev libgsf-dev \
    1.20  enchant-dev wv-dev libgnomecanvas-dev libcroco-dev libboost-dev librsvg-dev"
    1.21 -SUGGESTED="abiword-extras"
    1.22 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.23 -WEB_SITE="http://www.abisource.com/"
    1.24 -WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL"
    1.25 -TAGS="word doc office"
    1.26 -LOCALES="cs da de es fr hu id it pt ru sl sv zh"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30 @@ -36,10 +38,10 @@
    1.31  		--disable-collab-backend-sugar \
    1.32  		$CONFIGURE_ARGS &&
    1.33  	make $MAKEFLAGS &&
    1.34 -	make DESTDIR=$PWD/_pkg install
    1.35 +	make DESTDIR=$DESTDIR install
    1.36  	
    1.37  	cd plugins
    1.38 -	make DESTDIR=$src/_pkg install
    1.39 +	make DESTDIR=$DESTDIR install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43 @@ -47,13 +49,13 @@
    1.44  {
    1.45  	mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/abiword-2.8/plugins $fs/usr/share/icons
    1.46  
    1.47 -	cp -a $_pkg/usr/bin $fs/usr
    1.48 -	cp -a $_pkg/usr/lib/*.so $fs/usr/lib
    1.49 +	cp -a $install/usr/bin $fs/usr
    1.50 +	cp -a $install/usr/lib/*.so $fs/usr/lib
    1.51  
    1.52 -	cp -a $_pkg/usr/share/abiword-* $fs/usr/share
    1.53 +	cp -a $install/usr/share/abiword-* $fs/usr/share
    1.54  
    1.55  	# Non standard pixmap
    1.56 -	cp $_pkg/usr/share/icons/abiword_48.png \
    1.57 +	cp $install/usr/share/icons/abiword_48.png \
    1.58  		$fs/usr/share/pixmaps/abiword.png
    1.59  
    1.60  	# fix error when abiword is run in command line
    1.61 @@ -65,18 +67,18 @@
    1.62  	rm $fs/usr/share/abiword-*/system.pro*
    1.63  
    1.64  	for LOCALE in $LOCALES; do
    1.65 -		cp $_pkg/usr/share/abiword-*/strings/$LOCALE*.strings \
    1.66 +		cp $install/usr/share/abiword-*/strings/$LOCALE*.strings \
    1.67  			 $fs/usr/share/abiword-*/strings/
    1.68  		# id locale not complete in sources
    1.69  		if [ "$LOCALE" != "id" ]; then
    1.70 -			cp $_pkg/usr/share/abiword-*/templates/normal.awt-$LOCALE* \
    1.71 +			cp $install/usr/share/abiword-*/templates/normal.awt-$LOCALE* \
    1.72  				 $fs/usr/share/abiword-*/templates/
    1.73 -			cp $_pkg/usr/share/abiword-*/system.profile-$LOCALE* \
    1.74 +			cp $install/usr/share/abiword-*/system.profile-$LOCALE* \
    1.75  				 $fs/usr/share/abiword-*/
    1.76  		fi
    1.77  	done
    1.78  
    1.79 -	cp $_pkg/usr/share/abiword-*/templates/*.awt $fs/usr/share/abiword-*/templates/
    1.80 -	cp $_pkg/usr/share/abiword-*/system.profile $fs/usr/share/abiword-*/
    1.81 +	cp $install/usr/share/abiword-*/templates/*.awt $fs/usr/share/abiword-*/templates/
    1.82 +	cp $install/usr/share/abiword-*/system.profile $fs/usr/share/abiword-*/
    1.83  }
    1.84