wok annotate abiword/receipt @ rev 2800
Abiword: enable printing, reduce size
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Apr 28 15:16:32 2009 +0000 (2009-04-28) |
parents | e75b1d632d66 |
children | 2bbc0ef3f1d2 |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="abiword" |
pankso@1059 | 4 VERSION="2.6.4" |
pankso@205 | 5 CATEGORY="office" |
pankso@46 | 6 SHORT_DESC="Light and speed word processing application." |
pankso@46 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@332 | 8 DEPENDS="gtk+ libgnomeprint libgnomeprintui libgnomecanvas fribidi libglade |
pascal@2511 | 9 popt libxml2 libart_lgpl libgsf libgio enchant wv xorg-libXdamage" |
pankso@332 | 10 BUILD_DEPENDS="gtk+-dev libgnomeprint-dev libgnomeprintui-dev libgnomecanvas-dev |
pankso@573 | 11 fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev |
pankso@573 | 12 libgsf-dev enchant-dev wv-dev" |
pankso@573 | 13 SUGGESTED="abiword-extras" |
pankso@573 | 14 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@46 | 15 WEB_SITE="http://www.abisource.com/" |
pankso@733 | 16 WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL" |
pankso@46 | 17 |
pankso@46 | 18 # Rules to configure and make the package. |
pankso@46 | 19 compile_rules() |
pankso@46 | 20 { |
pankso@573 | 21 cd $src |
pankso@46 | 22 ./configure \ |
pankso@46 | 23 --prefix=/usr \ |
pankso@46 | 24 --infodir=/usr/share/info \ |
pankso@46 | 25 --mandir=/usr/share/man \ |
pankso@46 | 26 --enable-extra-optimization \ |
jozee@2800 | 27 --enable-printing \ |
pankso@46 | 28 $CONFIGURE_ARGS |
pankso@46 | 29 make |
pankso@573 | 30 make DESTDIR=$PWD/_pkg install |
pankso@46 | 31 } |
pankso@46 | 32 |
pankso@46 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 34 genpkg_rules() |
pankso@46 | 35 { |
pankso@46 | 36 mkdir -p $fs/usr/share/pixmaps |
pankso@46 | 37 cp -a $_pkg/usr/bin $fs/usr |
pankso@573 | 38 cp -a $_pkg/usr/share/abiword-* $fs/usr/share |
pankso@332 | 39 # Non standard pixmap |
pankso@46 | 40 cp $_pkg/usr/share/icons/abiword_48.png \ |
pankso@46 | 41 $fs/usr/share/pixmaps/abiword.png |
jozee@2800 | 42 # Non-standard locale use : get english, spanish, french, german |
jozee@2800 | 43 rm $fs/usr/share/abiword-*/strings/* |
jozee@2800 | 44 rm $fs/usr/share/abiword-*/templates/* |
jozee@2800 | 45 rm $fs/usr/share/abiword-*/system.pro* |
jozee@2800 | 46 cp $_pkg/usr/share/abiword-*/strings/d* \ |
jozee@2800 | 47 $_pkg/usr/share/abiword-*/strings/e* \ |
jozee@2800 | 48 $_pkg/usr/share/abiword-*/strings/f* \ |
jozee@2800 | 49 $fs/usr/share/abiword-*/strings/ |
jozee@2800 | 50 cp $_pkg/usr/share/abiword-*/templates/normal.awt \ |
jozee@2800 | 51 $_pkg/usr/share/abiword-*/templates/normal.awt-d* \ |
jozee@2800 | 52 $_pkg/usr/share/abiword-*/templates/normal.awt-e* \ |
jozee@2800 | 53 $_pkg/usr/share/abiword-*/templates/normal.awt-f* \ |
jozee@2800 | 54 $fs/usr/share/abiword-*/templates/ |
jozee@2800 | 55 cp $_pkg/usr/share/abiword-*/system.profile \ |
jozee@2800 | 56 $_pkg/usr/share/abiword-*/system.profile-d* \ |
jozee@2800 | 57 $_pkg/usr/share/abiword-*/system.profile-e* \ |
jozee@2800 | 58 $_pkg/usr/share/abiword-*/system.profile-f* \ |
jozee@2800 | 59 $fs/usr/share/abiword-*/ |
jozee@2800 | 60 |
pankso@46 | 61 } |
pankso@46 | 62 |