wok-next view abiword/receipt @ rev 177
Asunder.desktop and start cat 'multimedia'
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 02 00:05:08 2008 +0100 (2008-02-02) |
parents | 6ae509488fc6 |
children | de8dad81f96a |
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"
12 JWM_MENU='Productivity:<Program icon="abiword.png" label="AbiWord">abiword</Program>'
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/abi
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --enable-extra-optimization \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$src/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
35 cp -a $_pkg/usr/share/AbiSuite-* $fs/usr/share
37 strip -s $fs/usr/bin/* 2>/dev/null
39 # Pixmap
40 cp $_pkg/usr/share/icons/abiword_48.png \
41 $fs/usr/share/pixmaps/abiword.png
42 }