diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2003-10-29 16:27:03 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2003-10-29 16:27:03 +0000 |
commit | 76bff65c1cd26c58c07639f2921d10e6d399bf4b (patch) | |
tree | 6289bb7b5e7dd1d23c69f90e9b3ab8441a42b647 /app-sci | |
parent | fixed missing docs (diff) | |
download | gentoo-2-76bff65c1cd26c58c07639f2921d10e6d399bf4b.tar.gz gentoo-2-76bff65c1cd26c58c07639f2921d10e6d399bf4b.tar.bz2 gentoo-2-76bff65c1cd26c58c07639f2921d10e6d399bf4b.zip |
fixed missing docs
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/singular/ChangeLog | 8 | ||||
-rw-r--r-- | app-sci/singular/Manifest | 5 | ||||
-rw-r--r-- | app-sci/singular/files/digest-singular-2.0.4-r1 | 12 | ||||
-rw-r--r-- | app-sci/singular/files/fake_ssh | 5 | ||||
-rw-r--r-- | app-sci/singular/singular-2.0.4-r1.ebuild | 120 |
5 files changed, 147 insertions, 3 deletions
diff --git a/app-sci/singular/ChangeLog b/app-sci/singular/ChangeLog index 0b5e7206a72f..bf6528e70eef 100644 --- a/app-sci/singular/ChangeLog +++ b/app-sci/singular/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-sci/singular # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/singular/ChangeLog,v 1.1 2003/10/24 10:13:41 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/singular/ChangeLog,v 1.2 2003/10/29 16:26:57 phosphan Exp $ + +*singular-2.0.4-r1 (29 Oct 2003) + + 29 Oct 2003; Patrick Kursawe <phosphan@gentoo.org> singular-2.0.4-r1.ebuild, + files/fake_ssh: + Docs will be installed now if USE="doc" *singular-2.0.4 (24 Oct 2003) diff --git a/app-sci/singular/Manifest b/app-sci/singular/Manifest index 14d09bedc728..c262931d6fae 100644 --- a/app-sci/singular/Manifest +++ b/app-sci/singular/Manifest @@ -1,7 +1,8 @@ MD5 b855f61a43f9b7c8674f863674cd129e singular-2.0.4.ebuild 2670 -MD5 a0a37c10565dcf639675d898d97b50ac singular-2.0.4-r1.ebuild 2752 -MD5 d3437d25b8c64f25372d74aef6c0cd51 ChangeLog 446 +MD5 d0181a0f56bd79137bbbfc60685e4a45 singular-2.0.4-r1.ebuild 3354 +MD5 3ceeb902e1851c27d6e8d39130195e1b ChangeLog 620 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 b1383ace2a0b30413341982e4e34341f files/fake_ssh 150 MD5 b52673163a28446aae41691abc3e705d files/digest-singular-2.0.4 862 MD5 b52673163a28446aae41691abc3e705d files/digest-singular-2.0.4-r1 862 MD5 660ffc170458b159396e236d9d25351f files/singular-2.0.4-gentoo.diff 2677 diff --git a/app-sci/singular/files/digest-singular-2.0.4-r1 b/app-sci/singular/files/digest-singular-2.0.4-r1 new file mode 100644 index 000000000000..e836a917cf5e --- /dev/null +++ b/app-sci/singular/files/digest-singular-2.0.4-r1 @@ -0,0 +1,12 @@ +MD5 75fd483700f339ebf23d776ef91dae3b Singular-doc-2-0-4.tar.gz 644334 +MD5 25490dbf52e0c3f3ff9d32a5c0773db9 Singular-emacs-2-0-4.tar.gz 62596 +MD5 7ca5e7b84485b372bd9a01db74a1d828 Singular-factory-2-0-4b.tar.gz 479057 +MD5 001d7a818b0f4d149bc02d6c226874f8 Singular-IntProg-2-0-4a.tar.gz 85619 +MD5 d63d919a38a4f3ff557f465c1349f4ad Singular-kernel-2-0-4a.tar.gz 2728001 +MD5 ae5cf20b874205879bc047599ad35fbe Singular-libfac-2-0-4b.tar.gz 86507 +MD5 82b721154f1e6d310ed1a1dffbcb47a0 Singular-main-2-0-4c.tar.gz 54643 +MD5 da27e39e6b474ebcb3b8c64a4d84ce90 Singular-MP-2-0-4.tar.gz 354748 +MD5 16e674aa607bc884d640d3a520fb297b Singular-NTL-5.2.tar.gz 658841 +MD5 69ed8eb72f97f0940b0df4b5907faeb6 Singular-NTL-generic.tar.gz 7429 +MD5 7a24ca85fb29ea8f67c856b13f3cab5e Singular-omalloc-2-0-4.tar.gz 212567 +MD5 6b8af8429392f549638e26c4674aca2d Singular-Tst-2-0-4a.tar.gz 4047964 diff --git a/app-sci/singular/files/fake_ssh b/app-sci/singular/files/fake_ssh new file mode 100644 index 000000000000..127c177760e3 --- /dev/null +++ b/app-sci/singular/files/fake_ssh @@ -0,0 +1,5 @@ +#!/bin/bash +# strip hostname -n from command line +runme="$(echo $@ | sed -e 's:.* -n \(.*\):\1:')" +# do what -n should have done +${runme} < /dev/null diff --git a/app-sci/singular/singular-2.0.4-r1.ebuild b/app-sci/singular/singular-2.0.4-r1.ebuild new file mode 100644 index 000000000000..56a09274c11e --- /dev/null +++ b/app-sci/singular/singular-2.0.4-r1.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/singular/singular-2.0.4-r1.ebuild,v 1.1 2003/10/29 16:26:57 phosphan Exp $ + +S=${WORKDIR}/${P} +MINPV=${PV//./-} +BPN=${PN/s/S} +DESCRIPTION="Singular" +SRC_URI="ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-doc-${MINPV}.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-emacs-${MINPV}.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-factory-${MINPV}b.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-IntProg-${MINPV}a.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-kernel-${MINPV}a.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-libfac-${MINPV}b.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-main-${MINPV}c.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-MP-${MINPV}.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-NTL-5.2.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-NTL-generic.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-omalloc-${MINPV}.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-Tst-${MINPV}a.tar.gz" +HOMEPAGE="http://www.singular.uni-kl.de/" + +RDEPEND=">=dev-lang/perl-5.6 + >=dev-libs/gmp-4.1-r1" + +IUSE="doc" + +DEPEND="${RDEPEND} + doc? ( sys-apps/texinfo + virtual/tetex + dev-lang/perl )" + +SLOT="0" +LICENSE="singular" +KEYWORDS="~x86 ~ppc" + +S=${WORKDIR} + +src_unpack () { + unpack ${A} + epatch $FILESDIR/singular-2.0.4-gentoo.diff +} + + + +src_compile() { + local myconf="${myconf} --with-NTL --prefix=${D}/usr" + econf ${myconf} + make CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die "make failed" +} + +src_install () { + local myarchprefix + case ${ARCH} in + x86) + myarchprefix=ix86 + ;; + *) + myarchprefix=${ARCH} + ;; + esac + cd ${WORKDIR}/omalloc + einstall || die + cd ${WORKDIR}/MP + einstall || die + cd ${WORKDIR}/ntl + einstall || die + cd ${WORKDIR}/factory + einstall || die + cd ${WORKDIR}/libfac + einstall || die + cd ${WORKDIR}/Singular + einstall || die + rm ${D}/usr/LIB + dodir /usr/share/singular/LIB + dodir /usr/share/singular/LIB/gftables + insinto /usr/share/singular/LIB + cd ${WORKDIR}/Singular/LIB + doins *.lib* + insinto /usr/share/singular/LIB/gftables + cd gftables + doins * + dodir /usr/bin + dodir /usr/lib/singular + insinto /usr/lib/singular + cd ${D}/usr/${myarchprefix}-Linux + rm Singular + dobin *Singular* + doins *.so + use doc && ( cd ${WORKDIR}/doc + # fake ssh during doc creation + cp ${FILESDIR}/fake_ssh ${T}/ssh + chmod +x ${T}/ssh + export PATH="${T}:${PATH}" + make dvi + dodoc *.dvi + make ps + dodoc *.ps + local strange_error="Inappropriate ioctl for device" + echo ${strange_error} > makeresult + while grep -q "${strange_error}" makeresult + do make 2>&1 info | tee makeresult + done + cp singular.hlp singular.info + doinfo singular.info + make html + dohtml -r html/. + cd ${D}/usr + mv doc/NTL share/doc/${PF}/ + ) + cd ${D} + dosym /usr/bin/Singular-2-0-4 /usr/bin/Singular + cd ${D}/usr + rm -r ${myarchprefix}-Linux +} + +pkg_postinst() { + einfo "The authors ask you to register as a SINGULAR user." + einfo "Please check the license file for details." +} |