wok annotate abiword/receipt @ rev 5571
v4l-dvb: fix lsmod path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 14 21:40:50 2010 +0200 (2010-05-14) |
parents | 4df8a53682e8 |
children | c603a1546d49 |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="abiword" |
jozee@5272 | 4 VERSION="2.8.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@3853 | 8 DEPENDS="gtk+ libgnomeprint libgnomeprintui libgnomecanvas fribidi libglade \ |
jozee@5276 | 9 popt libxml2 libart_lgpl libgsf libgio enchant wv xorg-libXdamage gcc-lib-base librsvg" |
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 \ |
jozee@5272 | 12 enchant-dev wv-dev libgnomecanvas-dev libcroco-dev libboost-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 |
jozee@5272 | 19 # Rules to configure and make the package. --enable-extra-optimization \ |
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 \ |
jozee@5272 | 27 --enable-plugins \ |
jozee@5272 | 28 --enable-clipart \ |
jozee@5272 | 29 --enable-templates \ |
jozee@5272 | 30 --disable-collab-backend-sugar \ |
pascal@4998 | 31 $CONFIGURE_ARGS && |
pascal@4998 | 32 make && |
pankso@573 | 33 make DESTDIR=$PWD/_pkg install |
jozee@5272 | 34 |
jozee@5272 | 35 cd plugins |
jozee@5272 | 36 make DESTDIR=$src/_pkg install |
pankso@46 | 37 } |
pankso@46 | 38 |
pankso@46 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 40 genpkg_rules() |
pankso@46 | 41 { |
jozee@5272 | 42 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/abiword-2.8/plugins |
jozee@5272 | 43 |
pankso@46 | 44 cp -a $_pkg/usr/bin $fs/usr |
jozee@5272 | 45 cp -a $_pkg/usr/lib/*.so $fs/usr/lib |
jozee@5272 | 46 |
pankso@573 | 47 cp -a $_pkg/usr/share/abiword-* $fs/usr/share |
pankso@3853 | 48 # Non standard pixmap |
pankso@46 | 49 cp $_pkg/usr/share/icons/abiword_48.png \ |
pankso@46 | 50 $fs/usr/share/pixmaps/abiword.png |
jozee@2800 | 51 # Non-standard locale use : get english, spanish, french, german |
jozee@2800 | 52 rm $fs/usr/share/abiword-*/strings/* |
jozee@2800 | 53 rm $fs/usr/share/abiword-*/templates/* |
jozee@2800 | 54 rm $fs/usr/share/abiword-*/system.pro* |
jozee@2800 | 55 cp $_pkg/usr/share/abiword-*/strings/d* \ |
jozee@2800 | 56 $_pkg/usr/share/abiword-*/strings/e* \ |
jozee@2800 | 57 $_pkg/usr/share/abiword-*/strings/f* \ |
jozee@2800 | 58 $fs/usr/share/abiword-*/strings/ |
jozee@2800 | 59 cp $_pkg/usr/share/abiword-*/templates/normal.awt \ |
jozee@2800 | 60 $_pkg/usr/share/abiword-*/templates/normal.awt-d* \ |
jozee@2800 | 61 $_pkg/usr/share/abiword-*/templates/normal.awt-e* \ |
jozee@2800 | 62 $_pkg/usr/share/abiword-*/templates/normal.awt-f* \ |
jozee@2800 | 63 $fs/usr/share/abiword-*/templates/ |
jozee@5275 | 64 |
jozee@5275 | 65 cp $_pkg/usr/share/abiword-*/templates/*.awt $fs/usr/share/abiword-*/templates/ |
jozee@5275 | 66 |
jozee@2800 | 67 cp $_pkg/usr/share/abiword-*/system.profile \ |
jozee@2800 | 68 $_pkg/usr/share/abiword-*/system.profile-d* \ |
jozee@2800 | 69 $_pkg/usr/share/abiword-*/system.profile-e* \ |
jozee@2800 | 70 $_pkg/usr/share/abiword-*/system.profile-f* \ |
jozee@2800 | 71 $fs/usr/share/abiword-*/ |
jozee@2800 | 72 |
pankso@46 | 73 } |
pankso@46 | 74 |