wok 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 7ee851566ffb
children 52598e15250a
files abiword/receipt chemtool/receipt emelfm2/receipt epdfview/receipt
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 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/chemtool/receipt	Tue Dec 18 14:21:04 2007 +0100
     2.3 @@ -0,0 +1,42 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="chemtool"
     2.7 +VERSION="1.6.11"
     2.8 +CATEGORY="extra"
     2.9 +SHORT_DESC="Small program for drawing chemical structures."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="gtk+"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/"
    2.14 +WGET_URL="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/$TARBALL"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	cd $src
    2.20 +	./configure --prefix=/usr $CONFIGURE_ARGS
    2.21 +	make
    2.22 +	make DESTDIR=$PWD/_pkg install
    2.23 +}
    2.24 +
    2.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.26 +genpkg_rules()
    2.27 +{
    2.28 +	# Needed directories.
    2.29 +	mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \
    2.30 +	$fs/usr/share/examples/chemtool
    2.31 +	
    2.32 +	# Binary file.
    2.33 +	cp -a $_pkg/usr/bin $fs/usr
    2.34 +	strip -s $fs/usr/bin/*
    2.35 +	
    2.36 +	# French locale and pixmap.
    2.37 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    2.38 +	cp -a $src/chemtool.xpm $fs/usr/share/pixmaps
    2.39 +	
    2.40 +	# Examples.
    2.41 +	cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool
    2.42 +	cp -a $src/examples/c*.cht $fs/usr/share/examples/chemtool
    2.43 +	cp -a $src/examples/p*.cht $fs/usr/share/examples/chemtool
    2.44 +	cp -a $src/examples/t*.cht $fs/usr/share/examples/chemtool
    2.45 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/emelfm2/receipt	Tue Dec 18 14:21:04 2007 +0100
     3.3 @@ -0,0 +1,33 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="emelfm2"
     3.7 +VERSION="0.3.6"
     3.8 +CATEGORY="extra"
     3.9 +SHORT_DESC="GTK powerfull file manager."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +DEPENDS="gtk+"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="http://emelfm2.net/"
    3.14 +WGET_URL="http://emelfm2.net/rel/$TARBALL"
    3.15 +
    3.16 +# Rules to configure and make the package.
    3.17 +compile_rules()
    3.18 +{
    3.19 +	cd $src
    3.20 +	make PREFIX=/usr
    3.21 +	make i18n PREFIX=/usr
    3.22 +	make install PREFIX=$PWD/_pkg/usr
    3.23 +	make install_i18n PREFIX=$PWD/_pkg/usr
    3.24 +}
    3.25 +
    3.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.27 +genpkg_rules()
    3.28 +{
    3.29 +	mkdir -p $fs/usr/share/locale
    3.30 +	cp -a $_pkg/usr/bin $fs/usr
    3.31 +	cp -a $_pkg/usr/lib $fs/usr
    3.32 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    3.33 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    3.34 +	strip -s $fs/usr/bin/*
    3.35 +	strip -s $fs/usr/lib/emelfm2/plugins/*
    3.36 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/epdfview/receipt	Tue Dec 18 14:21:04 2007 +0100
     4.3 @@ -0,0 +1,34 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="epdfview"
     4.7 +VERSION="0.1.6"
     4.8 +CATEGORY="extra"
     4.9 +SHORT_DESC="Lightweight PDF document viewer using Poppler."
    4.10 +MAINTAINER="pankso@slitaz.org"
    4.11 +DEPENDS="gtk+ poppler"
    4.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.13 +WEB_SITE="http://trac.emma-soft.com/epdfview/"
    4.14 +WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL"
    4.15 +
    4.16 +# Rules to configure and make the package.
    4.17 +compile_rules()
    4.18 +{
    4.19 +	cd $src
    4.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    4.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    4.22 +	make
    4.23 +	make DESTDIR=$PWD/_pkg install
    4.24 +}
    4.25 +
    4.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.27 +genpkg_rules()
    4.28 +{
    4.29 +    mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps
    4.30 +    cp -a $_pkg/usr/bin $fs/usr
    4.31 +    cp -a $_pkg/usr/share/epdfview $fs/usr/share
    4.32 +    cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    4.33 +    strip -s $fs/usr/bin/*
    4.34 +    cd $fs/usr/share/pixmaps
    4.35 +    ln -s ../epdfview/pixmaps/icon_epdfview-48.png epdfview.png
    4.36 +}
    4.37 +