diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-10-08 22:08:04 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-10-08 22:08:04 +0000 |
commit | 05dd39890c63e4057e7feebba6770fe8091a0017 (patch) | |
tree | f342aa6aff69dd502627820299905fe0b70df33d /app-sci | |
parent | modified patch from #30656, corrected two pathes in the postinst message (diff) | |
download | historical-05dd39890c63e4057e7feebba6770fe8091a0017.tar.gz historical-05dd39890c63e4057e7feebba6770fe8091a0017.tar.bz2 historical-05dd39890c63e4057e7feebba6770fe8091a0017.zip |
modified patch from #30656, corrected two pathes in the postinst message
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/ncbi-tools/Manifest | 4 | ||||
-rw-r--r-- | app-sci/ncbi-tools/files/digest-ncbi-tools-04222003-r2 | 2 | ||||
-rw-r--r-- | app-sci/ncbi-tools/ncbi-tools-04222003-r2.ebuild | 75 |
3 files changed, 79 insertions, 2 deletions
diff --git a/app-sci/ncbi-tools/Manifest b/app-sci/ncbi-tools/Manifest index 2a905420545c..522e42df0236 100644 --- a/app-sci/ncbi-tools/Manifest +++ b/app-sci/ncbi-tools/Manifest @@ -1,7 +1,7 @@ MD5 a2a316b65b5f8acd622f4d1a4cfb7ad8 ncbi-tools-04222003-r1.ebuild 2268 MD5 5bcfa4e7389f1befe4fa7c902fe4f65f ncbi-tools-04222003.ebuild 2125 -MD5 f4c2585d39a7609b3c4ed822165fd4d8 ncbi-tools-04222003-r2.ebuild 2348 -MD5 ab05ba280e7fee24dc65a33991c3dab2 ChangeLog 586 +MD5 656236c6e3a57c35a2785141ddc6d6d7 ncbi-tools-04222003-r2.ebuild 2362 +MD5 710ad13523af80fd4d40642f3bd5b00c ChangeLog 789 MD5 e8b4df3df76800c376905734d8043cfa metadata.xml 216 MD5 14127812e393e96ae78632a71f4a9f01 files/digest-ncbi-tools-04222003 114 MD5 7c726288b5f5fd1f2fafcf08a7ffa267 files/dot-ncbirc 26 diff --git a/app-sci/ncbi-tools/files/digest-ncbi-tools-04222003-r2 b/app-sci/ncbi-tools/files/digest-ncbi-tools-04222003-r2 new file mode 100644 index 000000000000..906826ee86d2 --- /dev/null +++ b/app-sci/ncbi-tools/files/digest-ncbi-tools-04222003-r2 @@ -0,0 +1,2 @@ +MD5 96208e10f92b2163f5dcc3c5cf74dd44 ncbi.tar.gz 10164179 +MD5 8db14fb4c337372c40140b5cff06b9b6 data.tar.gz 988677 diff --git a/app-sci/ncbi-tools/ncbi-tools-04222003-r2.ebuild b/app-sci/ncbi-tools/ncbi-tools-04222003-r2.ebuild new file mode 100644 index 000000000000..7a5b7d4421b6 --- /dev/null +++ b/app-sci/ncbi-tools/ncbi-tools-04222003-r2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/ncbi-tools/ncbi-tools-04222003-r2.ebuild,v 1.1 2003/10/08 22:08:02 robbat2 Exp $ + +DESCRIPTION="NCBI toolkit including the BLAST group of programs, entrez, ddv, udv, sequin and others" +HOMEPAGE="http://www.ncbi.nlm.nih.gov/" + +SRC_URI="ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/CURRENT/ncbi.tar.gz ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/CURRENT/data.tar.gz" + +LICENSE="freedist" +SLOT="0" + +KEYWORDS="x86 ~ppc ~sparc ~alpha" +IUSE="X" + +DEPEND="app-shells/tcsh + X? ( >=xfree-4.3.0 >=x11-libs/openmotif-2.2.2 media-libs/libpng )" + +S=${WORKDIR}/${P} + +src_compile() { + + cd ${WORKDIR} + # NCBI provides their own compile script where they check for + # the existence of X (openmotif and opengl) libs and compile in support + # if they exist + + # future ebuilds will allow for -X which will not compile any of the + # graphical tools. But for right now you get everything if you have + # X installed + + # put in our cflags + sed -e "s/-O2/${CFLAGS}/" -i ncbi/platform/linux.ncbi.mk + + ./ncbi/make/makedis.csh 2>&1 | tee out.makedis.txt + +} + +src_install() { + + cd ${WORKDIR}/ncbi/bin + dobin Nentrez blastclust entrcmd getmesh megablast testobj Psequin blastpgp entrez2 getpub ncbisort testval asn2ff cdscan errhdr getseq netentcf udv asn2gb checksub fa2htgs gil2bin rpsblast vecscreen asn2xml copymat fastacmd idfetch seedtop asndhuff ddv findspl impala seqtest asntool demo_regexp fmerge indexpub tbl2asn blastall demo_regexp_grep formatdb makemat test_regexp blastcl3 dosimple getfeat makeset testcore + + + cd ${WORKDIR} + dodir /usr/var/ncbi + insinto /usr/var/ncbi + doins data/* + + dodoc README README.htm VERSION checkout.date + + cd ${WORKDIR}/ncbi/doc + dodoc * images/* fa2htgs/* + + # ncbirc file + dodir /etc/skel + insinto /etc/skel + newins ${FILESDIR}/dot-ncbirc .ncbirc + + # env file + dodir /etc/env.d + insinto /etc/env.d + doins ${FILESDIR}/21ncbi +} + +pkg_postinst() { + einfo " " + einfo "You'll need to edit /etc/env.d/21ncbi and indicate where your" + einfo "formatdb formatted databases are going to live on the filesystem." + einfo "Additionally, you may want to copy /etc/skel/.ncbirc to your" + einfo "current users home directories." + einfo " " + einfo "Be sure to see the /usr/share/doc/${PF} doc directory!" + einfo " " +} |