wok-6.x rev 511

Add: newt, Gperiodic. Typos in chemtool
author "Eric Joseph-Alewandre <erjo@slitaz.org>"
date Mon Apr 07 02:10:11 2008 +0200 (2008-04-07)
parents 5668dede4b9e
children 78beccae5ad2
files chemtool/receipt gperiodic/receipt newt/receipt
line diff
     1.1 --- a/chemtool/receipt	Sun Apr 06 01:38:29 2008 +0200
     1.2 +++ b/chemtool/receipt	Mon Apr 07 02:10:11 2008 +0200
     1.3 @@ -24,15 +24,16 @@
     1.4  {
     1.5  	# Needed directories.
     1.6  	mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \
     1.7 -	$fs/usr/share/examples/chemtool
     1.8 +	$fs/usr/share/examples/chemtool $fs/usr/share/applications
     1.9  	
    1.10  	# Binary file.
    1.11  	cp -a $_pkg/usr/bin $fs/usr
    1.12  	strip -s $fs/usr/bin/*
    1.13  	
    1.14 -	# French locale and pixmap.
    1.15 +	# French locale, pixmap and menu.
    1.16  	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.17 -	cp -a $src/chemtool.xpm $fs/usr/share/pixmaps
    1.18 +	cp -a $src/gnome/chemtool.png $fs/usr/share/pixmaps
    1.19 +	cp -a $src/gnome/chemtool.desktop $fs/usr/share/applications
    1.20  	
    1.21  	# Examples.
    1.22  	cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gperiodic/receipt	Mon Apr 07 02:10:11 2008 +0200
     2.3 @@ -0,0 +1,32 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="gperiodic"
     2.7 +VERSION="2.0.10"
     2.8 +CATEGORY="extras"
     2.9 +SHORT_DESC="A periodic table element"
    2.10 +MAINTAINER="Erjo <erjo@slitaz.org>"
    2.11 +DEPENDS="gtk+"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://www.frantz.fi/software/gperiodic.php"
    2.14 +WGET_URL="http://www.frantz.fi/software/$TARBALL"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	cd $src
    2.20 +	make
    2.21 +}
    2.22 +
    2.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.24 +genpkg_rules()
    2.25 +{
    2.26 +	mkdir -p $fs/usr/bin $fs/usr/share/applications \
    2.27 +	 $fs/usr/share/pixmaps $fs/usr/share/locale/fr/LC_MESSAGES
    2.28 +
    2.29 +	cp -a $src/gperiodic $fs/usr/bin
    2.30 +	cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/gperiodic.mo
    2.31 +	cp -a $src/gperiodic.desktop $fs/usr/share/applications
    2.32 +	cp -a $src/gperiodic.png $fs/usr/share/pixmaps
    2.33 +	strip -s $fs/usr/bin/*
    2.34 +}
    2.35 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/newt/receipt	Mon Apr 07 02:10:11 2008 +0200
     3.3 @@ -0,0 +1,41 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="newt"
     3.7 +VERSION="0.52.2"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Not Erik's Windowing Toolkit"
    3.10 +MAINTAINER="Erjo <erjo@slitaz.org>"
    3.11 +DEPENDS="slang"
    3.12 +BUILD_DEPENDS="slang-dev tcl-dev popt-dev"
    3.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.14 +WEB_SITE="http://packages.debian.org/etch/libnewt0.52"
    3.15 +WGET_URL="http://mirror.pimentvert.com/sources/newt/$TARBALL"
    3.16 +
    3.17 +# Rules to configure and make the package.
    3.18 +compile_rules()
    3.19 +{
    3.20 +	cd $src
    3.21 +	
    3.22 +	# Fixe group/owner
    3.23 +	chown -R root.root $src
    3.24 +
    3.25 +	./configure --prefix=/usr --infodir=/usr/share/info \
    3.26 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    3.27 +	make
    3.28 +	make instroot=$PWD/_pkg install
    3.29 +}
    3.30 +
    3.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.32 +genpkg_rules()
    3.33 +{
    3.34 +	mkdir -p $fs/usr/lib
    3.35 +	cp -a $_pkg/usr/bin $fs/usr
    3.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.37 +	cp -a $_pkg/usr/lib/python* $fs/usr/lib
    3.38 +
    3.39 +	# Bug fix
    3.40 +	cd $fs/usr/lib
    3.41 +	ln -s libnewt.so.0.52.1 libnewt.so.0.52
    3.42 +	strip -s $fs/usr/bin/*
    3.43 +}
    3.44 +