diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2002-04-29 05:51:08 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2002-04-29 05:51:08 +0000 |
commit | 7fe8d5fd55293468f7f5ae9768a21b305fa388bc (patch) | |
tree | f977cb13a0487094539cf35dcf1df90bb59dc622 /app-sci | |
parent | New package (diff) | |
download | historical-7fe8d5fd55293468f7f5ae9768a21b305fa388bc.tar.gz historical-7fe8d5fd55293468f7f5ae9768a21b305fa388bc.tar.bz2 historical-7fe8d5fd55293468f7f5ae9768a21b305fa388bc.zip |
New package
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/scilab/ChangeLog | 14 | ||||
-rw-r--r-- | app-sci/scilab/files/digest-scilab-2.6 | 1 | ||||
-rw-r--r-- | app-sci/scilab/scilab-2.6.ebuild | 119 |
3 files changed, 134 insertions, 0 deletions
diff --git a/app-sci/scilab/ChangeLog b/app-sci/scilab/ChangeLog new file mode 100644 index 000000000000..288434d2b5ba --- /dev/null +++ b/app-sci/scilab/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for app-sci/scilab +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/app-sci/scilab/ChangeLog,v 1.1 2002/04/29 05:51:08 rphillips Exp $ + +*scilab-2.6 (28 Apr 2002) + + 28 Apr 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. + diff --git a/app-sci/scilab/files/digest-scilab-2.6 b/app-sci/scilab/files/digest-scilab-2.6 new file mode 100644 index 000000000000..d005e3c40cf9 --- /dev/null +++ b/app-sci/scilab/files/digest-scilab-2.6 @@ -0,0 +1 @@ +MD5 32719c686f154ca0ddb02157b00c897e scilab-2.6.src.tar.gz 6725259 diff --git a/app-sci/scilab/scilab-2.6.ebuild b/app-sci/scilab/scilab-2.6.ebuild new file mode 100644 index 000000000000..96e00908b0ea --- /dev/null +++ b/app-sci/scilab/scilab-2.6.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Pierre-Henri Jondot <Pierre-Henri.Jondot@wanadoo.fr> with the help of Terje Kvernes +# $Header: /var/cvsroot/gentoo-x86/app-sci/scilab/scilab-2.6.ebuild,v 1.1 2002/04/29 05:51:08 rphillips Exp $ + +S=${WORKDIR}/${P} + +DESCRIPTION="Scilab is a scientific software package for numerical computations " +SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/distributions/${P}.src.tar.gz" +HOMEPAGE="http://www-rocq.inria.fr/scilab/" + +DEPEND="virtual/x11 + tcltk? ( dev-lang/tk )" + +src_compile() { + local myopts + + if [ "`use tcltk`" ] + then + myopts="--with-tk" + fi + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --localstatedir=/var \ + ${myopts} || die "./configure failed" + # HOME must be set to prevent writing to /root directory + export HOME=/var/tmp/portage/${P}/work + make all || die +} + +src_install () { + BINDISTFILES="\ + ${P}/.binary \ + ${P}/.pvmd.conf \ + ${P}/ACKNOWLEDGEMENTS \ + ${P}/CHANGES \ + ${P}/Makefile \ + ${P}/Makefile.OBJ \ + ${P}/Makefile.incl \ + ${P}/Makemex \ + ${P}/Path.incl \ + ${P}/README \ + ${P}/Version.incl \ + ${P}/configure \ + ${P}/libtool \ + ${P}/license.txt \ + ${P}/licence.txt \ + ${P}/scilab.quit \ + ${P}/scilab.star \ + ${P}/X11_defaults \ + ${P}/bin \ + ${P}/config \ + ${P}/contrib \ + ${P}/demos \ + ${P}/examples \ + ${P}/imp/NperiPos.ps \ + ${P}/imp/giffonts \ + ${P}/macros \ + ${P}/man \ + ${P}/maple \ + ${P}/pvm3/lib/pvm \ + ${P}/pvm3/lib/pvmd \ + ${P}/pvm3/lib/pvmtmparch \ + ${P}/pvm3/lib/pvmgetarch \ + ${P}/pvm3/lib/LINUX/pvmd3 \ + ${P}/pvm3/lib/LINUX/pvmgs \ + ${P}/routines/*.h \ + ${P}/routines/Make.lib \ + ${P}/routines/default/FCreate \ + ${P}/routines/default/Flist \ + ${P}/routines/default/README \ + ${P}/routines/default/fundef \ + ${P}/routines/default/*.c \ + ${P}/routines/default/*.f \ + ${P}/routines/graphics/Math.h \ + ${P}/routines/graphics/Graphics.h \ + ${P}/routines/interf/*.h \ + ${P}/routines/intersci/sparse.h \ + ${P}/routines/menusX/*.h \ + ${P}/routines/scicos/scicos.h \ + ${P}/routines/sun/*.h \ + ${P}/routines/xsci/*.h \ + ${P}/scripts \ + ${P}/tcl \ + ${P}/tests \ + ${P}/util" + + touch .binary + strip bin/scilex + (cd tests; make distclean) + (cd examples; make distclean) + dodir /usr/lib + (cd ..; tar cf - ${BINDISTFILES} | (cd ${D}usr/lib; tar xf -)) + rm .binary + + dodir /usr/bin + dosym /usr/lib/${P}/bin/scilab /usr/bin/scilab + dosym /usr/lib/${P}/bin/intersci /usr/bin/intersci + dosym /usr/lib/${P}/bin/intersci-n /usr/bin/intersci-n +} + +# the following is needed in order to create the startup scripts with +# the right paths +pkg_postinst () { + (cd /usr/lib/${P}; make) +} + +# but of course then, unmerge won't remove everything without the following +pkg_postrm () { + rm /usr/lib/${P}/Path.incl + rm -r /usr/lib/${P}/bin + rm -r /usr/lib/${P}/util + rmdir /usr/lib/${P} +} |