wok-6.x annotate abiword/receipt @ rev 11083
Up: claws-mail-spam_report to 0.3.14.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 01:56:28 2011 +0000 (2011-10-17) |
parents | 1abaa1223e53 |
children | 8e4c74abdf74 |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="abiword" |
slaxemulator@6146 | 4 VERSION="2.8.6" |
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 \ |
gokhlayeh@5780 | 9 popt libxml2 libart_lgpl libgsf libgio enchant wv xorg-libXdamage gcc-lib-base librsvg \ |
slaxemulator@9244 | 10 goffice glibc-locale" |
pankso@3853 | 11 BUILD_DEPENDS="$DEPENDS gtk+-dev libgnomeprint-dev libgnomeprintui-dev \ |
pankso@3853 | 12 fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev libgsf-dev \ |
slaxemulator@6146 | 13 enchant-dev wv-dev libgnomecanvas-dev libcroco-dev libboost-dev librsvg-dev" |
pankso@573 | 14 SUGGESTED="abiword-extras" |
pankso@573 | 15 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@46 | 16 WEB_SITE="http://www.abisource.com/" |
pankso@733 | 17 WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL" |
jozee@4931 | 18 TAGS="word doc office" |
pankso@46 | 19 |
jozee@5272 | 20 # Rules to configure and make the package. --enable-extra-optimization \ |
pankso@46 | 21 compile_rules() |
pankso@46 | 22 { |
pankso@573 | 23 cd $src |
pankso@46 | 24 ./configure \ |
pankso@46 | 25 --prefix=/usr \ |
pankso@46 | 26 --infodir=/usr/share/info \ |
pankso@46 | 27 --mandir=/usr/share/man \ |
jozee@5272 | 28 --enable-plugins \ |
jozee@5272 | 29 --enable-clipart \ |
jozee@5272 | 30 --enable-templates \ |
jozee@5272 | 31 --disable-collab-backend-sugar \ |
pascal@4998 | 32 $CONFIGURE_ARGS && |
pascal@5803 | 33 make -j 4 && |
pankso@573 | 34 make DESTDIR=$PWD/_pkg install |
jozee@5272 | 35 |
jozee@5272 | 36 cd plugins |
jozee@5272 | 37 make DESTDIR=$src/_pkg install |
pankso@46 | 38 } |
pankso@46 | 39 |
pankso@46 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 41 genpkg_rules() |
pankso@46 | 42 { |
slaxemulator@7481 | 43 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/abiword-2.8/plugins $fs/usr/share/icons |
jozee@5272 | 44 |
pankso@46 | 45 cp -a $_pkg/usr/bin $fs/usr |
jozee@5272 | 46 cp -a $_pkg/usr/lib/*.so $fs/usr/lib |
jozee@5272 | 47 |
pankso@573 | 48 cp -a $_pkg/usr/share/abiword-* $fs/usr/share |
pankso@3853 | 49 # Non standard pixmap |
pankso@46 | 50 cp $_pkg/usr/share/icons/abiword_48.png \ |
pankso@46 | 51 $fs/usr/share/pixmaps/abiword.png |
slaxemulator@7481 | 52 # fix error when abiword is run in command line |
slaxemulator@7481 | 53 ln -sf /usr/share/pixmaps/abiword.png $fs/usr/share/icons/abiword_48.png |
jozee@2800 | 54 # Non-standard locale use : get english, spanish, french, german |
jozee@2800 | 55 rm $fs/usr/share/abiword-*/strings/* |
jozee@2800 | 56 rm $fs/usr/share/abiword-*/templates/* |
jozee@2800 | 57 rm $fs/usr/share/abiword-*/system.pro* |
jozee@2800 | 58 cp $_pkg/usr/share/abiword-*/strings/d* \ |
jozee@2800 | 59 $_pkg/usr/share/abiword-*/strings/e* \ |
jozee@2800 | 60 $_pkg/usr/share/abiword-*/strings/f* \ |
jozee@2800 | 61 $fs/usr/share/abiword-*/strings/ |
jozee@2800 | 62 cp $_pkg/usr/share/abiword-*/templates/normal.awt \ |
jozee@2800 | 63 $_pkg/usr/share/abiword-*/templates/normal.awt-d* \ |
jozee@2800 | 64 $_pkg/usr/share/abiword-*/templates/normal.awt-e* \ |
jozee@2800 | 65 $_pkg/usr/share/abiword-*/templates/normal.awt-f* \ |
jozee@2800 | 66 $fs/usr/share/abiword-*/templates/ |
jozee@5275 | 67 |
jozee@5275 | 68 cp $_pkg/usr/share/abiword-*/templates/*.awt $fs/usr/share/abiword-*/templates/ |
jozee@5275 | 69 |
jozee@2800 | 70 cp $_pkg/usr/share/abiword-*/system.profile \ |
jozee@2800 | 71 $_pkg/usr/share/abiword-*/system.profile-d* \ |
jozee@2800 | 72 $_pkg/usr/share/abiword-*/system.profile-e* \ |
jozee@2800 | 73 $_pkg/usr/share/abiword-*/system.profile-f* \ |
jozee@2800 | 74 $fs/usr/share/abiword-*/ |
jozee@2800 | 75 |
pankso@46 | 76 } |
pankso@46 | 77 |