wok-current annotate abiword/receipt @ rev 503
syslinux-extra: compress /usr/share/syslinux files with lzma
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 26 07:47:59 2008 +0000 (2008-03-26) |
parents | 1b9baba948bb |
children | 7cf3cf69e7e4 |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="abiword" |
pankso@46 | 4 VERSION="2.4.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@332 | 8 DEPENDS="gtk+ libgnomeprint libgnomeprintui libgnomecanvas fribidi libglade |
pankso@332 | 9 popt libxml2 libart_lgpl" |
pankso@332 | 10 BUILD_DEPENDS="gtk+-dev libgnomeprint-dev libgnomeprintui-dev libgnomecanvas-dev |
pankso@332 | 11 fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev" |
pankso@332 | 12 SUGGESTED="abiword-plugins" |
pankso@46 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@46 | 14 WEB_SITE="http://www.abisource.com/" |
pankso@46 | 15 WGET_URL="http://www.abisource.com/downloads/abiword/2.4.6/source/$TARBALL" |
pankso@46 | 16 |
pankso@46 | 17 # Rules to configure and make the package. |
pankso@46 | 18 compile_rules() |
pankso@46 | 19 { |
pankso@46 | 20 cd $src/abi |
pankso@46 | 21 ./configure \ |
pankso@46 | 22 --prefix=/usr \ |
pankso@46 | 23 --infodir=/usr/share/info \ |
pankso@46 | 24 --mandir=/usr/share/man \ |
pankso@46 | 25 --enable-extra-optimization \ |
pankso@46 | 26 $CONFIGURE_ARGS |
pankso@46 | 27 make |
pankso@46 | 28 make DESTDIR=$src/_pkg install |
pankso@46 | 29 } |
pankso@46 | 30 |
pankso@46 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 32 genpkg_rules() |
pankso@46 | 33 { |
pankso@46 | 34 mkdir -p $fs/usr/share/pixmaps |
pankso@46 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@46 | 36 cp -a $_pkg/usr/lib $fs/usr |
pankso@46 | 37 cp -a $_pkg/usr/share/AbiSuite-* $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 |