wok annotate abiword/receipt @ rev 4998

[a-b]*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 12:41:24 2010 +0100 (2010-02-28)
parents f4fd0777003f
children 99d5f29bc4b6
rev   line source
pankso@46 1 # SliTaz package receipt.
pankso@46 2
pankso@46 3 PACKAGE="abiword"
pankso@3853 4 VERSION="2.6.8"
pankso@205 5 CATEGORY="office"
pankso@46 6 SHORT_DESC="Light and speed word processing application."
pankso@46 7 MAINTAINER="pankso@slitaz.org"
pankso@3853 8 DEPENDS="gtk+ libgnomeprint libgnomeprintui libgnomecanvas fribidi libglade \
pascal@4998 9 popt libxml2 libart_lgpl libgsf libgio enchant wv xorg-libXdamage gcc-lib-base"
pankso@3853 10 BUILD_DEPENDS="$DEPENDS gtk+-dev libgnomeprint-dev libgnomeprintui-dev \
pankso@3853 11 fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev libgsf-dev \
pankso@3853 12 enchant-dev wv-dev libgnomecanvas-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"
jozee@4931 17 TAGS="word doc office"
pankso@46 18
pankso@46 19 # Rules to configure and make the package.
pankso@46 20 compile_rules()
pankso@46 21 {
pankso@573 22 cd $src
pankso@46 23 ./configure \
pankso@46 24 --prefix=/usr \
pankso@46 25 --infodir=/usr/share/info \
pankso@46 26 --mandir=/usr/share/man \
pankso@46 27 --enable-extra-optimization \
jozee@2800 28 --enable-printing \
pascal@4998 29 $CONFIGURE_ARGS &&
pascal@4998 30 make &&
pankso@573 31 make DESTDIR=$PWD/_pkg install
pankso@46 32 }
pankso@46 33
pankso@46 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@46 35 genpkg_rules()
pankso@46 36 {
pankso@46 37 mkdir -p $fs/usr/share/pixmaps
pankso@46 38 cp -a $_pkg/usr/bin $fs/usr
pankso@573 39 cp -a $_pkg/usr/share/abiword-* $fs/usr/share
pankso@3853 40 # Non standard pixmap
pankso@46 41 cp $_pkg/usr/share/icons/abiword_48.png \
pankso@46 42 $fs/usr/share/pixmaps/abiword.png
jozee@2800 43 # Non-standard locale use : get english, spanish, french, german
jozee@2800 44 rm $fs/usr/share/abiword-*/strings/*
jozee@2800 45 rm $fs/usr/share/abiword-*/templates/*
jozee@2800 46 rm $fs/usr/share/abiword-*/system.pro*
jozee@2800 47 cp $_pkg/usr/share/abiword-*/strings/d* \
jozee@2800 48 $_pkg/usr/share/abiword-*/strings/e* \
jozee@2800 49 $_pkg/usr/share/abiword-*/strings/f* \
jozee@2800 50 $fs/usr/share/abiword-*/strings/
jozee@2800 51 cp $_pkg/usr/share/abiword-*/templates/normal.awt \
jozee@2800 52 $_pkg/usr/share/abiword-*/templates/normal.awt-d* \
jozee@2800 53 $_pkg/usr/share/abiword-*/templates/normal.awt-e* \
jozee@2800 54 $_pkg/usr/share/abiword-*/templates/normal.awt-f* \
jozee@2800 55 $fs/usr/share/abiword-*/templates/
jozee@2800 56 cp $_pkg/usr/share/abiword-*/system.profile \
jozee@2800 57 $_pkg/usr/share/abiword-*/system.profile-d* \
jozee@2800 58 $_pkg/usr/share/abiword-*/system.profile-e* \
jozee@2800 59 $_pkg/usr/share/abiword-*/system.profile-f* \
jozee@2800 60 $fs/usr/share/abiword-*/
jozee@2800 61
pankso@46 62 }
pankso@46 63