wok-current annotate 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 |
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@46 | 5 CATEGORY="extra" |
pankso@46 | 6 SHORT_DESC="Light and speed word processing application." |
pankso@46 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@46 | 8 DEPENDS="gtk+ libgnomeprint libgnomeprintui libgnomecanvas fribidi libglade popt libxml2 libart_lgpl" |
pankso@46 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@46 | 10 WEB_SITE="http://www.abisource.com/" |
pankso@46 | 11 WGET_URL="http://www.abisource.com/downloads/abiword/2.4.6/source/$TARBALL" |
pankso@46 | 12 |
pankso@46 | 13 # Rules to configure and make the package. |
pankso@46 | 14 compile_rules() |
pankso@46 | 15 { |
pankso@46 | 16 cd $src/abi |
pankso@46 | 17 ./configure \ |
pankso@46 | 18 --prefix=/usr \ |
pankso@46 | 19 --infodir=/usr/share/info \ |
pankso@46 | 20 --mandir=/usr/share/man \ |
pankso@46 | 21 --enable-extra-optimization \ |
pankso@46 | 22 $CONFIGURE_ARGS |
pankso@46 | 23 make |
pankso@46 | 24 make DESTDIR=$src/_pkg install |
pankso@46 | 25 } |
pankso@46 | 26 |
pankso@46 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 28 genpkg_rules() |
pankso@46 | 29 { |
pankso@46 | 30 mkdir -p $fs/usr/share/pixmaps |
pankso@46 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@46 | 32 cp -a $_pkg/usr/lib $fs/usr |
pankso@46 | 33 |
pankso@46 | 34 cp -a $_pkg/usr/share/AbiSuite-* $fs/usr/share |
pankso@46 | 35 |
pankso@46 | 36 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@46 | 37 |
pankso@46 | 38 # 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 |