diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-03-26 12:02:42 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-03-26 12:02:42 +0000 |
commit | 21e09b6b564f854da57dfd37631c871b20124baa (patch) | |
tree | c902b5922c10d1b9c0f447ee09badbfa04bc0180 /app-sci/singular | |
parent | added digest (diff) | |
download | gentoo-2-21e09b6b564f854da57dfd37631c871b20124baa.tar.gz gentoo-2-21e09b6b564f854da57dfd37631c871b20124baa.tar.bz2 gentoo-2-21e09b6b564f854da57dfd37631c871b20124baa.zip |
fixing some docs
Diffstat (limited to 'app-sci/singular')
-rw-r--r-- | app-sci/singular/ChangeLog | 7 | ||||
-rw-r--r-- | app-sci/singular/Manifest | 2 | ||||
-rw-r--r-- | app-sci/singular/files/digest-singular-2.0.5-r4 | 12 | ||||
-rw-r--r-- | app-sci/singular/singular-2.0.5-r4.ebuild | 143 |
4 files changed, 163 insertions, 1 deletions
diff --git a/app-sci/singular/ChangeLog b/app-sci/singular/ChangeLog index 2d45a01b89d9..be3dcf54af39 100644 --- a/app-sci/singular/ChangeLog +++ b/app-sci/singular/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-sci/singular # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/singular/ChangeLog,v 1.9 2004/03/24 14:02:53 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/singular/ChangeLog,v 1.10 2004/03/26 12:02:42 phosphan Exp $ + +*singular-2.0.5-r4 (26 Mar 2004) + + 26 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> singular-2.0.5-r4.ebuild: + A few documentation fixes 24 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> singular-2.0.5-r3.ebuild: Was using wrong patch file, corrected. diff --git a/app-sci/singular/Manifest b/app-sci/singular/Manifest index 0aa3dadc2de1..13d06ef8ba79 100644 --- a/app-sci/singular/Manifest +++ b/app-sci/singular/Manifest @@ -1,3 +1,4 @@ +MD5 fea90a8e7058451fdba671c213c95dff singular-2.0.5-r4.ebuild 4252 MD5 573247dfe8b030dc0c610a394e79d260 singular-2.0.5-r3.ebuild 4191 MD5 4bed27987870d999d421f86f55279880 singular-2.0.4-r1.ebuild 3662 MD5 6797944d6402242739b95169e490ffd2 ChangeLog 2117 @@ -5,5 +6,6 @@ MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 b1383ace2a0b30413341982e4e34341f files/fake_ssh 150 MD5 b52673163a28446aae41691abc3e705d files/digest-singular-2.0.4-r1 862 MD5 673cd925126b07ea0e78cf91269b7d66 files/digest-singular-2.0.5-r3 859 +MD5 673cd925126b07ea0e78cf91269b7d66 files/digest-singular-2.0.5-r4 859 MD5 916f91466aad4f177f2270b4c1fad94a files/singular-2.0.5-r3-gentoo.diff 4399 MD5 8f79455c2cd6352e5e0907b21a7390f1 files/singular-2.0.4-gentoo.diff 3287 diff --git a/app-sci/singular/files/digest-singular-2.0.5-r4 b/app-sci/singular/files/digest-singular-2.0.5-r4 new file mode 100644 index 000000000000..168e24b6c043 --- /dev/null +++ b/app-sci/singular/files/digest-singular-2.0.5-r4 @@ -0,0 +1,12 @@ +MD5 7dade3cbf4b3297e13067bf136b47dd5 Singular-doc-2-0-5.tar.gz 658275 +MD5 25490dbf52e0c3f3ff9d32a5c0773db9 Singular-emacs-2-0-5.tar.gz 62596 +MD5 ccb98926a93b0fc90711730790c56ac5 Singular-factory-2-0-5.tar.gz 479277 +MD5 001d7a818b0f4d149bc02d6c226874f8 Singular-IntProg-2-0-4a.tar.gz 85619 +MD5 2cc39a94e1e1c555cbbdfea2a825286e Singular-kernel-2-0-5.tar.gz 2688358 +MD5 149cd0f1249388e58138a6b1de17dd7c Singular-libfac-2-0-5.tar.gz 86640 +MD5 e88a57eab4c719f97a2cec19a8429f74 Singular-main-2-0-5.tar.gz 54627 +MD5 8d7b33130501acf7d74cbd9e02b8a26a Singular-MP-2-0-5.tar.gz 365390 +MD5 5304918a83976e0d1c58ea40e795cfa7 Singular-NTL-5.3.1.tar.gz 655942 +MD5 69ed8eb72f97f0940b0df4b5907faeb6 Singular-NTL-generic.tar.gz 7429 +MD5 7dc82f3822f35268c47c86edb9822e6f Singular-omalloc-2-0-5.tar.gz 237140 +MD5 a9fbca50eb2e0c6b468c572edcf737b6 Singular-Tst-2-0-5.tar.gz 4181732 diff --git a/app-sci/singular/singular-2.0.5-r4.ebuild b/app-sci/singular/singular-2.0.5-r4.ebuild new file mode 100644 index 000000000000..d7c9676b97c4 --- /dev/null +++ b/app-sci/singular/singular-2.0.5-r4.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2004 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.5-r4.ebuild,v 1.1 2004/03/26 12:02:42 phosphan Exp $ + +inherit eutils + +MINPV=${PV//./-} +BPN=${PN/s/S} +NTLVERSION="5.3.1" +# attention: different versions are mixed. IntProg is older + +DESCRIPTION="computer algebra system for polynomial computations" +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}.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-IntProg-2-0-4a.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-kernel-${MINPV}.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-libfac-${MINPV}.tar.gz + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/${BPN}-main-${MINPV}.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-${NTLVERSION}.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}.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/${P}-r3-gentoo.diff + sed -e "s/PFSUBST/${PF}/" -i ${S}/Singular/feResource.cc || die "sed failed on feResource.cc" +} + + + +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* + doins COPYING + doins help.cnf + insinto /usr/share/singular/LIB/gftables + cd gftables + doins * + dodir /usr/bin + dodir /usr/lib/singular + + use doc && ( cd ${WORKDIR}/doc + # fake ssh during doc creation + cp ${FILESDIR}/fake_ssh ${T}/ssh + chmod +x ${T}/ssh + export PATH="${T}:${PATH}" + export LC_ALL="C" + 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 + echo > singular.info "INFO-DIR-SECTION Math" + echo >> singular.info "START-INFO-DIR-ENTRY" + echo >> singular.info "* Singular: (singular). A Computer Algebra System for Polynomial Computations" + echo >> singular.info "END-INFO-DIR-ENTRY" + cat singular.hlp >> singular.info + doinfo singular.info + make html + strange_error="Bad file descriptor" + echo ${strange_error} > makeresult + while grep -q "${strange_error}" makeresult + do make 2>&1 singular.idx | tee makeresult + done + insinto /usr/share/${PN} + doins singular.idx singular.hlp + dohtml -a htm,png,html,idx,css -r html/ html/* + cd ${D}/usr + dodir /usr/share/doc/${PF} + mv doc/NTL share/doc/${PF}/ + ) + cd ${D} + dosym /usr/bin/Singular-${MINPV} /usr/bin/Singular + + insinto /usr/lib/singular + cd ${D}/usr/${myarchprefix}-Linux + # don't do this before the docs are installed + rm Singular + dobin *Singular* + doins *.so + 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." +} |