wok annotate abiword/receipt @ rev 573
Up: abiword (2.6.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 14 15:47:14 2008 +0200 (2008-04-14) |
parents | eb4e6a1af180 |
children | 2fe94d04fc6f |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="abiword" |
pankso@573 | 4 VERSION="2.6.2" |
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 |
pankso@573 | 9 popt libxml2 libart_lgpl libgsf enchant wv" |
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@573 | 16 WGET_URL="http://www.abisource.com/downloads/abiword/2.6.2/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 \ |
pankso@46 | 27 $CONFIGURE_ARGS |
pankso@46 | 28 make |
pankso@573 | 29 make DESTDIR=$PWD/_pkg install |
pankso@46 | 30 } |
pankso@46 | 31 |
pankso@46 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 33 genpkg_rules() |
pankso@46 | 34 { |
pankso@46 | 35 mkdir -p $fs/usr/share/pixmaps |
pankso@46 | 36 cp -a $_pkg/usr/bin $fs/usr |
pankso@573 | 37 cp -a $_pkg/usr/share/abiword-* $fs/usr/share |
pankso@332 | 38 # Non standard pixmap |
pankso@46 | 39 cp $_pkg/usr/share/icons/abiword_48.png \ |
pankso@46 | 40 $fs/usr/share/pixmaps/abiword.png |
pankso@46 | 41 } |
pankso@46 | 42 |