diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2004-08-19 23:06:45 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2004-08-19 23:06:45 +0000 |
commit | 7b14d45a54e28032b75c098b8881699026ddae86 (patch) | |
tree | 253709513575ce86383cef6932537e1d46c1c709 /app-sci/scilab | |
parent | Added local "USE" flag "atlas" for app-sci/scilab (diff) | |
download | gentoo-2-7b14d45a54e28032b75c098b8881699026ddae86.tar.gz gentoo-2-7b14d45a54e28032b75c098b8881699026ddae86.tar.bz2 gentoo-2-7b14d45a54e28032b75c098b8881699026ddae86.zip |
Added 2.7-r3 to x86. Version bump to 3.0.
Diffstat (limited to 'app-sci/scilab')
-rw-r--r-- | app-sci/scilab/ChangeLog | 8 | ||||
-rw-r--r-- | app-sci/scilab/Manifest | 4 | ||||
-rw-r--r-- | app-sci/scilab/files/digest-scilab-3.0 | 1 | ||||
-rw-r--r-- | app-sci/scilab/scilab-2.7-r3.ebuild | 4 | ||||
-rw-r--r-- | app-sci/scilab/scilab-3.0.ebuild | 148 |
5 files changed, 161 insertions, 4 deletions
diff --git a/app-sci/scilab/ChangeLog b/app-sci/scilab/ChangeLog index 85e4ad3ab7fe..2ec9d0429088 100644 --- a/app-sci/scilab/ChangeLog +++ b/app-sci/scilab/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-sci/scilab # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/scilab/ChangeLog,v 1.19 2004/06/30 19:26:37 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/scilab/ChangeLog,v 1.20 2004/08/19 23:06:45 ribosome Exp $ + +*scilab-3.0 + + 19 Aug 2004; Olivier Fisette <ribosome@gentoo.org> + scilab-2.7-r3.ebuild, scilab-3.0.ebuild: + Version bump. Added 2.7-r3 to x86. 30 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> -scilab-2.6.ebuild, -scilab-2.7-r1.ebuild, scilab-2.7-r2.ebuild, -scilab-2.7.ebuild: diff --git a/app-sci/scilab/Manifest b/app-sci/scilab/Manifest index 177881b8d7d5..62596c2195ff 100644 --- a/app-sci/scilab/Manifest +++ b/app-sci/scilab/Manifest @@ -1,7 +1,9 @@ -MD5 37264cc0b4a8d35d59421c5a57a78d9a scilab-2.7-r3.ebuild 4012 +MD5 b395f3135481f4b54ae680ad8335e06f scilab-3.0.ebuild 3855 +MD5 5665bf80c747fce44f43602f00e5603c scilab-2.7-r3.ebuild 4011 MD5 9bc876c5143089742eb0fbd132f71074 scilab-2.7-r2.ebuild 3843 MD5 dad257d0112e24b525a63c1e8e07eb88 ChangeLog 3294 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 814dd511c89a14982a5d6c60b09c1709 files/scilab-2.7-configure.patch 1702 +MD5 a485d7f0600472c5f79d8c78a09deb6a files/digest-scilab-3.0 68 MD5 f8e77491ef5140fe63fbe21ca1964377 files/digest-scilab-2.7-r2 135 MD5 f8e77491ef5140fe63fbe21ca1964377 files/digest-scilab-2.7-r3 135 diff --git a/app-sci/scilab/files/digest-scilab-3.0 b/app-sci/scilab/files/digest-scilab-3.0 new file mode 100644 index 000000000000..df2aa975ecc0 --- /dev/null +++ b/app-sci/scilab/files/digest-scilab-3.0 @@ -0,0 +1 @@ +MD5 d6fc5fe12519f99ccdd492c4ba96935a scilab-3.0.src.tar.gz 10988126 diff --git a/app-sci/scilab/scilab-2.7-r3.ebuild b/app-sci/scilab/scilab-2.7-r3.ebuild index 57462e8bc03a..11a37978c0b9 100644 --- a/app-sci/scilab/scilab-2.7-r3.ebuild +++ b/app-sci/scilab/scilab-2.7-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/scilab/scilab-2.7-r3.ebuild,v 1.7 2004/06/28 04:17:04 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/scilab/scilab-2.7-r3.ebuild,v 1.8 2004/08/19 23:06:45 ribosome Exp $ inherit virtualx eutils @@ -11,7 +11,7 @@ HOMEPAGE="http://www.scilab.org/" LICENSE="scilab" SLOT="0" -KEYWORDS="~x86 amd64" +KEYWORDS="x86 amd64" IUSE="tcltk gtk ifc" DEPEND="virtual/x11 diff --git a/app-sci/scilab/scilab-3.0.ebuild b/app-sci/scilab/scilab-3.0.ebuild new file mode 100644 index 000000000000..d052c69217af --- /dev/null +++ b/app-sci/scilab/scilab-3.0.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/scilab/scilab-3.0.ebuild,v 1.1 2004/08/19 23:06:45 ribosome Exp $ + +DESCRIPTION="Scientific software package for numerical computations (Matlab lookalike)" +SRC_URI="ftp://ftp.inria.fr/INRIA/Scilab/distributions/${P}.src.tar.gz" +HOMEPAGE="http://www.scilab.org/" + +LICENSE="scilab" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="tcltk atlas gtk gtk2 Xaw3d" + +RDEPEND="virtual/x11 + sys-libs/ncurses + atlas? ( dev-libs/atlas ) + gtk? ( + >=gnome-base/gnome-libs-1.4.2 + >=dev-libs/glib-2.2 + media-libs/jpeg + media-libs/libpng + sys-libs/zlib + gtk2? ( >=x11-libs/gtk+-2* + >=x11-libs/libzvt-2* + >=gnome-extra/libgtkhtml-2* + ) + !gtk2? ( =x11-libs/gtk+-1.2* ) + ) + tcltk? ( >=dev-lang/tk-8.4 + >=dev-lang/tcl-8.4 ) + Xaw3d? ( x11-libs/Xaw3d )" + +DEPEND="${RDEPEND} + app-text/sablotron + dev-libs/libxslt" + +src_compile() { + local myopts + use tcltk || myopts="${myopts} --without-tk" + use Xaw3d || myopts="${myopts} --without-xaw3d" + use atlas && myopts="${myopts} --with-atlas-library=/usr/lib" + use gtk2 && myopts="${myopts} --with-gtk2" || \ + use gtk && myopts="${myopts} --with-gtk" + + econf ${myopts} || die + env HOME=${S} make all || die +} + +src_install() { + # These instructions come from the file ${P}/Makefile, mostly section + # install. Make sure files have not been removed or added to these list + # when you use this ebuild as a template for future versions. + PVMBINDISTFILES="\ + ${P}/pvm3/Readme \ + ${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}/pvm3/lib/LINUX/pvm \ + ${P}/pvm3/bin/LINUX/*" + 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_Unix \ + ${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/eng/ \ + ${P}/man/fr/ \ + ${P}/man/*.dtd \ + ${P}/man/*/*.xsl \ + ${P}/maple \ + ${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/default/*.h \ + ${P}/routines/graphics/Math.h \ + ${P}/routines/graphics/Graphics.h \ + ${P}/routines/graphics/Entities.h \ + ${P}/routines/interf/*.h \ + ${P}/routines/intersci/sparse.h \ + ${P}/routines/menusX/*.h \ + ${P}/routines/scicos/scicos.h \ + ${P}/routines/scicos/scicos_block.h \ + ${P}/routines/sun/*.h \ + ${P}/routines/xsci/*.h \ + ${P}/scripts \ + ${P}/tcl \ + ${P}/tests \ + ${P}/util" + + touch .binary + strip bin/scilex + cd ${S}/tests && make distclean + cd ${S}/examples && make distclean + cd ${S}/man && make man + + dodir /usr/lib + (cd ${S}/.. && tar cf - ${BINDISTFILES} ${PVMBINDISTFILES} | (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 +} + +pkg_preinst() { + # The compile and install process causes the work folder to be registered + # as the runtime folder in the launch script. This is corrected here. + BAD_LINE=SCI\=\"${WORKDIR}/${P}\" + FIXED_LINE=SCI\=\"/usr/lib/${P}\" + sed -i -e "s#${BAD_LINE}#${FIXED_LINE}#" ${D}/usr/lib/${P}/bin/scilab +} + +pkg_postinst() { + einfo "To tell Scilab about your printers, set the environment" + einfo "variable PRINTERS in the form:" + einfo + einfo "PRINTERS=\"firstPrinter:secondPrinter:anotherPrinter\"" +} |