/[gentoo-x86]/app-sci/prints/prints-37.0.ebuild
Gentoo

Contents of /app-sci/prints/prints-37.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Dec 23 21:20:54 2004 UTC (9 years, 9 months ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Moving to sci-biology/prints

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-sci/prints/prints-37.0.ebuild,v 1.4 2004/08/10 23:58:04 ribosome Exp $
4
5 DESCRIPTION="A protein motif fingerprint database"
6 HOMEPAGE="http://www.bioinf.man.ac.uk/dbbrowser/PRINTS/"
7 SRC_URI="ftp://ftp.ebi.ac.uk/pub/databases/${PN}/newpr.lis.gz
8 ftp://ftp.ebi.ac.uk/pub/databases/${PN}/${PN}37_0.all.fasta.Z
9 ftp://ftp.ebi.ac.uk/pub/databases/${PN}/${PN}37_0.dat.gz
10 ftp://ftp.ebi.ac.uk/pub/databases/${PN}/${PN}37_0.lis.gz
11 ftp://ftp.ebi.ac.uk/pub/databases/${PN}/${PN}37_0.nam.gz
12 ftp://ftp.ebi.ac.uk/pub/databases/${PN}/${PN}37_0.vsn.gz"
13 LICENSE="public-domain"
14 SLOT="0"
15 KEYWORDS="x86 ~ppc"
16 IUSE="no-emboss no-rawdb"
17
18 S=${WORKDIR}
19
20 src_compile() {
21 # Index the database for use with emboss if emboss is installed and
22 # the user did not explicitly request not to index the database.
23 if [ -e /usr/bin/printsextract ] && ! use no-emboss; then
24 mkdir PRINTS
25 einfo "Indexing PRINTS for usage with EMBOSS."
26 EMBOSS_DATA=. printsextract -auto -infile prints37_0.dat || die \
27 "Indexing PRINTS failed."
28 fi
29 }
30
31 src_install() {
32 if ! use no-rawdb; then
33 insinto /usr/share/${PN}
34 doins ${PN}37_0.{all.fasta,dat,lis,nam,vsn} newpr.lis
35 fi
36 if [ -e /usr/bin/printsextract ] && ! use no-emboss; then
37 insinto /usr/share/EMBOSS/data/PRINTS
38 doins PRINTS/*
39 fi
40 }

  ViewVC Help
Powered by ViewVC 1.1.20