wok-current view abiword/receipt @ rev 115
Set BUILD_DEPENDS for cairo, glib, atk and gtk+
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 05 00:17:11 2008 +0100 (2008-01-05) |
parents | |
children | 4959e5789caa |
line source
1 # SliTaz package receipt.
3 PACKAGE="abiword"
4 VERSION="2.4.6"
5 CATEGORY="extra"
6 SHORT_DESC="Light and speed word processing application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libgnomeprint libgnomeprintui libgnomecanvas fribidi libglade popt libxml2 libart_lgpl"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.abisource.com/"
11 WGET_URL="http://www.abisource.com/downloads/abiword/2.4.6/source/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src/abi
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 --enable-extra-optimization \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$src/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/usr/share/AbiSuite-* $fs/usr/share
36 strip -s $fs/usr/bin/* 2>/dev/null
38 # Pixmap
39 cp $_pkg/usr/share/icons/abiword_48.png \
40 $fs/usr/share/pixmaps/abiword.png
41 }