diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2005-07-06 06:17:24 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2005-07-06 06:17:24 +0000 |
commit | d5aa71234520bbb1cfb3222ff7c240ea69873487 (patch) | |
tree | 2da216655bc1a102e33a5e2808970c82517897be /sci-biology | |
parent | Removed pyperl again. Source is unmaintained and does not work anymore (diff) | |
download | overlay-d5aa71234520bbb1cfb3222ff7c240ea69873487.tar.gz overlay-d5aa71234520bbb1cfb3222ff7c240ea69873487.tar.bz2 overlay-d5aa71234520bbb1cfb3222ff7c240ea69873487.zip |
Modified Makefile for the autoprime ebuilds
svn path=/; revision=142
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/repbase/repbase-10.04.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/sci-biology/repbase/repbase-10.04.ebuild b/sci-biology/repbase/repbase-10.04.ebuild new file mode 100644 index 0000000..90cfaa9 --- /dev/null +++ b/sci-biology/repbase/repbase-10.04.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +CATEGORY="sci-biology" + +MY_P="RepBase${PV}.fasta" + +DESCRIPTION="A database of repetetive genetic elements in various organisms." +HOMEPAGE="http://www.girinst.org" +SRC_URI="${MY_P}.tar.gz" + +LICENSE="repbase-agreement" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +RESTRICT="fetch" + +REPBASELOC="${HOMEPAGE}/server/RepBase/" + +REPLIBRARIES=" +angrep.ref=repeat_lib_A.gambiae +cbrrep.ref=repeat_lib_C.briggsae +celrep.ref=repeat_lib_C.elegans +drorep.ref=repeat_lib_D.melanogaster +fugrep.ref=repeat_lib_F.rubripes +humrep.ref=repeat_lib_H.sapiens +prirep.ref=repeat_lib_P.troglodyte +rodrep.ref=repeat_lib_M.musculus +rodrep.ref=repeat_lib_R.norvegicus +zebrep.ref=repeat_lib_D.rerio +" + +pkg_nofetch() +{ + einfo "Please download ${SRC_URI}" + einfo "from ${REPBASELOC} and place it in ${DISTDIR}." + einfo "You will need to register as an academic user at" + einfo "${HOMEPAGE} in order to be" + einfo "allowed to download the file." +} + +src_compile() +{ + cp ${FILESDIR}/clean ${WORKDIR} + cd ${WORKDIR} + for lib in ${REPLIBRARIES} + do + einfo Cleaning library file ${lib/=*/} to ${lib/*=/} + ./clean ${MY_P}/${lib/=*/} ${lib/*=/} + done +} + +src_install() +{ + cd ${WORKDIR} + install -m 755 -d ${D}/usr/share/${P}/ + for lib in ${REPLIBRARIES} + do + install -m 644 ${lib/*=/} ${D}/usr/share/${P}/ + done +} |