wok annotate abiword/receipt @ rev 3951
Move tazpkg mime info to tazpkg source
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Aug 25 22:01:30 2009 +0200 (2009-08-25) |
parents | 2bbc0ef3f1d2 |
children | f4fd0777003f |
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 \ |
pankso@3853 | 9 popt libxml2 libart_lgpl libgsf libgio enchant wv xorg-libXdamage" |
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@3563 | 17 TAGS="word doc" |
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 \ |
pankso@46 | 29 $CONFIGURE_ARGS |
pankso@46 | 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 |