+++ /dev/null
-# ChangeLog for app-sci/snns
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/snns/ChangeLog,v 1.17 2004/07/01 19:38:48 eradicator Exp $
-
- 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> snns-4.2-r4.ebuild:
- virtual/glibc -> virtual/libc
-
-*snns-4.2-r6 (05 Jun 2004)
-
- 05 Jun 2004; Patrick Kursawe <phosphan@gentoo.org> snns-4.2-r6.ebuild:
- Documentation of the python extension is in a usable state now.
-
- 02 Jun 2004; Aron Griffis <agriffis@gentoo.org> snns-4.2-r4.ebuild:
- Fix use invocation
-
-*snns-4.2-r5 (01 Jun 2004)
-
- 01 Jun 2004; Patrick Kursawe <phosphan@gentoo.org> snns-4.2-r5.ebuild:
- Integrated the python bindings from the snns-dev project.
-
- 25 Apr 2004; Aron Griffis <agriffis@gentoo.org> snns-4.2-r4.ebuild:
- Add die following econf for bug 48950
-
- 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> snns-4.2-r3.ebuild,
- snns-4.2-r4.ebuild, files/snns-4.2-gentoo.patch:
- Bump to stable, cleanup.
-
- 01 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> snns-4.2-r3.ebuild:
- replacing patch by epatch
-
- 17 Mar 2004; David Holm <dholm@gentoo.org> snns-4.2-r4.ebuild:
- Added to ~ppc.
-
-*snns-4.2-r4 (17 Mar 2004)
-
- 17 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> snns-4.2-r2.ebuild,
- snns-4.2-r4.ebuild:
- Getting external patch from snns-dev project.
-
-*snns-4.2-r3 (22 Sep 2003)
-
- 22 Sep 2003; Patrick Kursawe <phosphan@gentoo.org> snns-4.2-r3.ebuild:
- Fixing bug 25429 by linking with Xaw3d instead of Xaw. Increased some static
- buffer sizes to make crashes a bit less likely.
-
- 30 Jul 2003; Patrick Kursawe <phosphan@gentoo.org> snns-4.2-r1.ebuild,
- snns-4.2.ebuild:
- Cleanup
-
-*snns-4.2-r2 (11 Nov 2002)
-
- 11 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
- Tweaked ebuild a little bit more per #10390
-
-*snns-4.2-r1 (08 Nov 2002)
-
- 08 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
- Added ability to use X or not ... #10390
-
-*snns-4.2 (08 Nov 2002)
-
- 08 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by Patrick Kursawe <patrick.kursawe@web.de>.
+++ /dev/null
-MD5 965a49cb6e92cb30aa26a1397e1f34ed snns-4.2-r4.ebuild 1633
-MD5 3f45feb1ab7562379faba5558b15a226 snns-4.2-r6.ebuild 2518
-MD5 9316c9bef19882d7d4d764aa031ea4cf ChangeLog 2097
-MD5 c000c0728c9136f1b54cbc3a5fc07644 metadata.xml 220
-MD5 409a7ed863845a91ab923aee9873a062 files/digest-snns-4.2-r4 196
-MD5 13bc6c016dc3aa799a25598dead6346e files/digest-snns-4.2-r6 262
+++ /dev/null
-MD5 4609dfd61714bfbb0842d4e8e905e584 SNNSv4.2.tar.gz 2170375
-MD5 73a999a41bb91a4f8b5653ddddfcc527 snns-4.2-20040227.patch.gz 55476
-MD5 e91242fdc43877013ade3b5f2213659a SNNSv4.2.Manual.pdf 2103861
+++ /dev/null
-MD5 4609dfd61714bfbb0842d4e8e905e584 SNNSv4.2.tar.gz 2170375
-MD5 73a999a41bb91a4f8b5653ddddfcc527 snns-4.2-20040227.patch.gz 55476
-MD5 e91242fdc43877013ade3b5f2213659a SNNSv4.2.Manual.pdf 2103861
-MD5 fd63676eabeab8c633b176c01cbf8d44 PySNNS-20040605.tar.gz 20158
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>sci</herd>
-<maintainer>
- <email>phosphan@gentoo.org</email>
-</maintainer>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/snns/snns-4.2-r4.ebuild,v 1.7 2004/07/01 11:54:39 eradicator Exp $
-
-inherit eutils
-
-MY_P="SNNSv${PV}"
-MYPATCH="${P}-20040227"
-DESCRIPTION="Stuttgart Neural Network Simulator"
-HOMEPAGE="http://www-ra.informatik.uni-tuebingen.de/SNNS/"
-SRC_URI="http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.tar.gz
- http://download.berlios.de/snns-dev/${MYPATCH}.patch.gz
- doc? ( http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.Manual.pdf )"
-
-LICENSE="SNNS-${PV}"
-KEYWORDS="x86 ppc"
-SLOT="0"
-IUSE="X doc"
-
-DEPEND="X? ( virtual/x11
- x11-libs/Xaw3d )
- >=sys-apps/sed-4
- virtual/libc"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${MY_P}.tar.gz
- unpack ${MYPATCH}.patch.gz
- epatch ${MYPATCH}.patch
-}
-
-src_compile() {
- local myconf="--enable-global"
- local compileopts="compile-kernel compile-tools"
-
- if use X ; then
- myconf="${myconf} --with-x"
- compileopts="${compileopts} compile-xgui"
- else
- myconf="${myconf} --without-x"
- fi
-
- econf ${myconf} || die "econf failed"
- emake ${compileopts} || die "emake failed"
-}
-
-src_install() {
- for file in `find tools -type f -perm +100`; do
- dobin $file
- done
-
- if use X ; then
- newbin xgui/sources/xgui snns
-
- dodir /etc/env.d
- echo XGUILOADPATH=/usr/share/doc/${PF}/ > ${D}/etc/env.d/99snns
-
- insinto /usr/share/doc/${PF}
- doins default.cfg help.hdoc
- fi
-
- insinto /usr/share/doc/${PF}
- use doc && doins ${DISTDIR}/${MY_P}.Manual.pdf
-
- insinto /usr/share/doc/${PF}/examples
- doins examples/*
-
- doman man/man*/*
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/snns/snns-4.2-r6.ebuild,v 1.3 2004/11/04 12:46:49 phosphan Exp $
-
-inherit eutils python
-
-MY_P="SNNSv${PV}"
-MYPATCH="${P}-20040227"
-MYPYTHONEXT="PySNNS-20040605"
-
-DESCRIPTION="Stuttgart Neural Network Simulator"
-HOMEPAGE="http://www-ra.informatik.uni-tuebingen.de/SNNS/"
-SRC_URI="http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.tar.gz
- http://download.berlios.de/snns-dev/${MYPATCH}.patch.gz
- doc? ( http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.Manual.pdf )
- python? ( http://download.berlios.de/snns-dev/${MYPYTHONEXT}.tar.gz )"
-
-LICENSE="SNNS-${PV}"
-KEYWORDS="x86"
-SLOT="0"
-IUSE="X doc python"
-
-DEPEND="X? ( virtual/x11
- x11-libs/Xaw3d )
- >=sys-apps/sed-4
- python? ( >=dev-lang/python-2.3 )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${MY_P}.tar.gz
- unpack ${MYPATCH}.patch.gz
- epatch ${MYPATCH}.patch
- use python && unpack ${MYPYTHONEXT}.tar.gz
-}
-
-src_compile() {
- local myconf="--enable-global"
- local compileopts="compile-kernel compile-tools"
-
- if use X; then
- myconf="${myconf} --with-x"
- compileopts="${compileopts} compile-xgui"
- else
- myconf="${myconf} --without-x"
- fi
-
- econf ${myconf} || die "econf failed"
- emake ${compileopts} || die "emake failed"
-
- if use python; then
- cd python
- python setup.py build || die "could not build python extension"
- fi
-}
-
-src_install() {
- for file in `find tools -type f -perm +100`; do
- dobin $file
- done
-
- if use X; then
- newbin xgui/sources/xgui snns
-
- dodir /etc/env.d
- echo XGUILOADPATH=/usr/share/doc/${PF}/ > ${D}/etc/env.d/99snns
-
- insinto /usr/share/doc/${PF}
- doins default.cfg help.hdoc
- fi
-
- if use python; then
- cd python
- python setup.py install --prefix=${D}/usr || die "could not install python module"
- cp -a examples ${D}/usr/share/doc/${PF}/python-examples
- chmod +x ${D}/usr/share/doc/${PF}/python-examples/*.py
- newdoc README README.python
- cd ${S}
- fi
-
- insinto /usr/share/doc/${PF}
- use doc && doins ${DISTDIR}/${MY_P}.Manual.pdf
-
- insinto /usr/share/doc/${PF}/examples
- doins examples/*
-
- doman man/man*/*
-}
-
-pkg_postinst() {
- if use python; then
- einfo "Pre-compiling Python module"
- python_version
- for file in __init__.py util.py; do
- python_mod_compile \
- ${ROOT}/usr/lib/python${PYVER}/site-packages/snns/${file}
- done
- fi
-}
-
-pkg_postrm() {
- if use python; then
- einfo "Cleaning up python stuff"
- python_mod_cleanup
- fi
-}