wok-next diff abiword/receipt @ rev 46

Add : abiword, chemtool, emelfm2, epdfview
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 14:21:04 2007 +0100 (2007-12-18)
parents
children 4959e5789caa
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/abiword/receipt	Tue Dec 18 14:21:04 2007 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="abiword"
     1.7 +VERSION="2.4.6"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="Light and speed word processing application."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gtk+ libgnomeprint libgnomeprintui libgnomecanvas fribidi libglade popt libxml2 libart_lgpl"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://www.abisource.com/"
    1.14 +WGET_URL="http://www.abisource.com/downloads/abiword/2.4.6/source/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src/abi
    1.20 +	./configure \
    1.21 +		--prefix=/usr \
    1.22 +		--infodir=/usr/share/info \
    1.23 +		--mandir=/usr/share/man \
    1.24 +		--enable-extra-optimization \
    1.25 +		$CONFIGURE_ARGS
    1.26 +	make
    1.27 +	make DESTDIR=$src/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/share/pixmaps
    1.34 +	cp -a $_pkg/usr/bin $fs/usr
    1.35 +	cp -a $_pkg/usr/lib $fs/usr
    1.36 +	
    1.37 +	cp -a $_pkg/usr/share/AbiSuite-* $fs/usr/share
    1.38 +	
    1.39 +	strip -s $fs/usr/bin/* 2>/dev/null
    1.40 +	
    1.41 +	# Pixmap 
    1.42 +	cp $_pkg/usr/share/icons/abiword_48.png \
    1.43 +		$fs/usr/share/pixmaps/abiword.png
    1.44 +}
    1.45 +