diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-biology/psipred |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-biology/psipred')
-rw-r--r-- | sci-biology/psipred/Manifest | 16 | ||||
-rw-r--r-- | sci-biology/psipred/files/3.1-Makefile.patch | 38 | ||||
-rw-r--r-- | sci-biology/psipred/files/3.1-fgets.patch | 13 | ||||
-rw-r--r-- | sci-biology/psipred/files/3.1-path.patch | 38 | ||||
-rw-r--r-- | sci-biology/psipred/files/3.2-fgets.patch | 13 | ||||
-rw-r--r-- | sci-biology/psipred/metadata.xml | 8 | ||||
-rw-r--r-- | sci-biology/psipred/psipred-3.2.1.ebuild | 51 | ||||
-rw-r--r-- | sci-biology/psipred/psipred-3.3.ebuild | 54 | ||||
-rw-r--r-- | sci-biology/psipred/psipred-3.4.ebuild | 55 | ||||
-rw-r--r-- | sci-biology/psipred/psipred-3.5.ebuild | 55 |
10 files changed, 341 insertions, 0 deletions
diff --git a/sci-biology/psipred/Manifest b/sci-biology/psipred/Manifest new file mode 100644 index 000000000000..d97ee24d63d1 --- /dev/null +++ b/sci-biology/psipred/Manifest @@ -0,0 +1,16 @@ +AUX 3.1-Makefile.patch 1103 SHA256 de49b937edc714ba84ea2ae0900ea92b73c58048fafb8d616e8dfa44b548e927 SHA512 6e0daf4478b5b992ed1647bf653320b18cd2582ca69ebe761654bd4bd9c9c46b7de183ae84a28582cb5543603362eb7eb6c306ff562c3ec18c292d89480fd127 WHIRLPOOL 2d491dff1be16cf09413ff2f1087bc6888509a4db5dad56ec79422ed42e688855e1ff6f6d456257631b69ca3c185cba6143c1dcad353fef2b9af49ab9a2f5501 +AUX 3.1-fgets.patch 427 SHA256 a1f52692ad3593278718a8d2cc95d176e8bcd773305a6f6769a5c76106cd6423 SHA512 f6fbea6ff576482d394eeaa841db689d4f410ac29274f20713bfd6ad3ae4182dce1f7675be113a94d2b08dd3cc0c7a900bf23cfdd6a8d034622b8aa06194af90 WHIRLPOOL 01d246024996df3d78f0330b753d2457805c1561a8fa99a080400c0b34730db014d60e5147c6689aa489385bd313a7809b3b22c036cdd6ddd23cf326042cec1d +AUX 3.1-path.patch 1128 SHA256 0b91a360760bd27f4ba43639d32e891d5576595451e1f7285632fc9ad38a80fa SHA512 e6201669db910f074bb13d1b781416d8d99300f328147cccd7755d5d6595b25aa45353f6da6566f225a067e94ab8ee41ea89bfd75cf2cdf2c076481707acf88c WHIRLPOOL 33802ea504dea3445c8024b9c13eb351a009f13ee4b4a1d126392e5d807006d08dc0c582972eac2d13975d9acc9f6b5ccbf1bdc09115810abcc63dcae5e393cd +AUX 3.2-fgets.patch 427 SHA256 95d68881c502c567025eb5e74fcd545bf012ded48ab2731aa70827f0ff449696 SHA512 a8a59a765057e20b9c606b8e4d76b5657a9a06150247b426d939805547148ddc8a1cb4282e04bcdcd756bfa6df7bebffcc77b84f62c86be2f643069d2ff913bb WHIRLPOOL 92b0c8af14387db54eef5ea171ffd0c096658f6922729a6a1a1836eeb14b21b1feb3cd330dfb564eb3aaa8435d18b55f4559da96fb32f666f88349a1af3fb191 +DIST psipred3.3.tar.gz 1239746 SHA256 133eef16ba4ac6ff5e10a757290ef794552833f42ed8251ff866ae56d9527c40 SHA512 38f5dd0f6eb6fc38888f9a850604b95904a8626d6862eb0b2a389caaf49af8f81436aa78a087da22281113d8afad2d28e5109ddade7d17718c1028eed8325b7e WHIRLPOOL d3883df88bde12a0f5ba6e195dc37b7104db36d16b5846b978fb045def6c4452edce4361dcced27ed36937bbd8d0e8dd4391b8592dca390941b3450e49cc5d34 +DIST psipred3.4.tar.gz 1102416 SHA256 c0eb8877313eb0564d34fc4d0e2d8d22e09d84d245e41008227560a10e64da9d SHA512 1bc7ac41a213766139324540ba6952538f2890749ecf217d771b4ce59e25231857d38c237ea573674f11a82300750e9a3ff628ec0156864863a9528a144cd919 WHIRLPOOL bdb47f296db1172df08f84b8cf18782e8585a8bc49f190b9783192db0e9d632bd6660437e8a35c24bb5970ca7a556b368c5a93373772f20d4be9a98ef963b902 +DIST psipred3.5.tar.gz 1101579 SHA256 107979a6bee968ba1df1ac1ee63bc1611105b83a7d519ab814f848ed955b76d8 SHA512 a7b3f7d149f6a29cf0b48bdb900f6983d42af01132d8b54a7be88994d09fcf27dbe57115d41ec9654da6daf6898d5986d08fbdcefa3a4c81af0d358500cd40c2 WHIRLPOOL fb07fdf550af6c9942e131a4856942c74adb3a7954c433ac7bc27680d9ab2b3db82a5178a15bcea224f7bb0da3cd84c94a4e9188be4fcbd49851037f631732e3 +DIST psipred321.tar.gz 747151 SHA256 5e88f2402e333be401b3022937b0167a33203f6289a84dd344941546f550f1f8 SHA512 b742f5fd3151bd624452bf37761fa66d364ea5b28d9d005ae6ce6f52fc6f2b17df31d6f1e600bd6c57776a1812f22b1eafbca781b430811a010d74f157a75cd1 WHIRLPOOL bb7111851ffe533b30fd6b77fb1ae396f0dd6506ce941944974c3b5c73c41d1a5b04c5af3d7e697aeb0640c03168b78d8832747940ed0de087df784d2d27e9f1 +DIST tdbdata.tar.gz 40241247 SHA256 87b7743538898f6cdf89cc5c18e1ecd040bc6223a01821d2bfc3109f4571851f SHA512 f96d7ffbb77e129251e27f62b7f099d944bacd14935e03fc52c9f0b262cce1ad477ad43520a93b407951fb8f5dd3ba2e27ff6b5ae8a637ec03bc02f8c7c3990c WHIRLPOOL 37bc0912c6a71d1396489161465c690fb63d28167694d2e43553b6684c1f1f88866b2bf71f9531c7a7f41fc8ca81a6c93c2895ed498a07e3c4836f8c8bf4a34e +EBUILD psipred-3.2.1.ebuild 1109 SHA256 cdaf7bf5a39001928178ffca0f687c1d85a64ed4a3536404e08944db3ba098da SHA512 9971b494b499b494b2a764672a074573184956fad453971b7dcb962a0728493c8339e9fba484fbb0062e2436b72516035f74d363909b3b8e85ee6060061f95a0 WHIRLPOOL 871dae22f71631ddee2ebf20d339f0e6a79ca839087e2e776aa0a742ce95897674b2e050f23aac18e757aae78e79e6c86f8059482dfbf73fc884ec9f0712a451 +EBUILD psipred-3.3.ebuild 1206 SHA256 53ab24fe6a7226162ae35d4217b6568ed4e38b21d441893f15bdff8fea05edc0 SHA512 56a3c75dd285784b36d546a3722451915527ba33821d070feb16997212749b7a8a85eaa4940dee1665bc2c28bbc4968bf3d470283852e0224c2a3a01e6347188 WHIRLPOOL e49671d02a99dbedb2d28680f11c57820b039a6af51ceea5e027cdff51d3ae5b86f9890cc6e99a1f3f1f9caa2a0750cbd151270dfc7b8214ed8b052ba4cdfe59 +EBUILD psipred-3.4.ebuild 1223 SHA256 04243dfacf95981ae4bf1ec88a99c96ed705764b8aaf8cc9e94d6ef77dc7b770 SHA512 3c657fe871ed89e1138a0a305ab339fdcd92d32e23fd512f8833f849ebcc725f313eadf6236d4bbf5843dab469eb5471e9fc9a0d20113a02e38475d792c60521 WHIRLPOOL 9aea4ff15548e4617f0bca76c24c5dd27938cb2e7500f0653879903eef38e5192416f0dedf0de4952870196f8ca8684040d635ac878a8b2df1c4d2de22174f86 +EBUILD psipred-3.5.ebuild 1223 SHA256 04243dfacf95981ae4bf1ec88a99c96ed705764b8aaf8cc9e94d6ef77dc7b770 SHA512 3c657fe871ed89e1138a0a305ab339fdcd92d32e23fd512f8833f849ebcc725f313eadf6236d4bbf5843dab469eb5471e9fc9a0d20113a02e38475d792c60521 WHIRLPOOL 9aea4ff15548e4617f0bca76c24c5dd27938cb2e7500f0653879903eef38e5192416f0dedf0de4952870196f8ca8684040d635ac878a8b2df1c4d2de22174f86 +MISC ChangeLog 2993 SHA256 135a77956fef53e3475509f49d2b19ec67a96443ddeb6d4bb5867431395ba9a5 SHA512 19e6745808c8d8c08e3fb78b2314a462e3c6919683c3605baf46c1a8ca43ee8e32dea8bc6f935a11e083fb5fca30d33c83d77beaf22e66cee666ed0f46fe2d16 WHIRLPOOL 3beafb35171e699e0b101b9570d84c2e46ced2e83007996477ce77f2159dc072ac735ec919184125189c982b68fe4cc417f9acd5a8f5623fab5623641260b40f +MISC ChangeLog-2015 2200 SHA256 4d2a46e3b4f6985b5d64047420bb49a7b3bb7aff55d5e7240fc2ad442efaaa88 SHA512 74b858353af4e0d9d06b056c3c8aeba38bf089aa15a9ad5b8e7c50e00625380f4ab556a04b92ce78fe4f01e68618612f8af580a90d76d8a216e8e32b0f4ff106 WHIRLPOOL a5f94edbcb72cfcd0976e5026429ae263d1510f4d826ac88c496eb95da1136d533141c086cd4ff5ee56331d22a0f14182af6fe324d8332da1cb381befb03561c +MISC metadata.xml 267 SHA256 b3535fccca0fc8511c1245214c1a7c105447b35f21093bda132991874ce82d48 SHA512 91ab266d9ab24401bc0fec759c5b6cfcf44a3c5669fc31c7301d79770839bb5dfa0e155d949392ef06176b4a0b2c32b91b1b54b0027f972db61f0a5e54644403 WHIRLPOOL d841a2f928c50434f2e8c65f583ea3aa2d04e5cebd664b1531ab5373260f735219131991000bbb2b21aa3add05dcdce29548b78eac8d8c0eced6dc5505b64e13 diff --git a/sci-biology/psipred/files/3.1-Makefile.patch b/sci-biology/psipred/files/3.1-Makefile.patch new file mode 100644 index 000000000000..0c70b6868565 --- /dev/null +++ b/sci-biology/psipred/files/3.1-Makefile.patch @@ -0,0 +1,38 @@ +diff --git a/src/Makefile b/src/Makefile +index abed8af..26061fa 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -6,9 +6,9 @@ + #### CFLAGS Flags to pass to C compiler. + + INCDIR = . +-CC = cc ++CC ?= gcc + +-CFLAGS = -O ++CFLAGS ?= -O2 + LIBS = -lm + + all: psipred psipass2 chkparse seq2mtx pfilt +@@ -20,16 +20,16 @@ clean: + /bin/rm -f psipred psipass2 chkparse seq2mtx pfilt + + psipred: sspred_avpred.c ssdefs.h sspred_net.h +- $(CC) $(CFLAGS) sspred_avpred.c $(LIBS) -o psipred ++ $(CC) $(CFLAGS) $(LDFLAGS) sspred_avpred.c $(LIBS) -o psipred + + psipass2: sspred_hmulti.c ssdefs.h sspred_net2.h +- $(CC) $(CFLAGS) sspred_hmulti.c $(LIBS) -o psipass2 ++ $(CC) $(CFLAGS) $(LDFLAGS) sspred_hmulti.c $(LIBS) -o psipass2 + + chkparse: chkparse.c +- $(CC) $(CFLAGS) chkparse.c $(LIBS) -o chkparse ++ $(CC) $(CFLAGS) $(LDFLAGS) chkparse.c $(LIBS) -o chkparse + + seq2mtx: seq2mtx.c +- $(CC) $(CFLAGS) seq2mtx.c $(LIBS) -o seq2mtx ++ $(CC) $(CFLAGS) $(LDFLAGS) seq2mtx.c $(LIBS) -o seq2mtx + + pfilt: pfilt.c +- $(CC) $(CFLAGS) pfilt.c $(LIBS) -o pfilt ++ $(CC) $(CFLAGS) $(LDFLAGS) pfilt.c $(LIBS) -o pfilt diff --git a/sci-biology/psipred/files/3.1-fgets.patch b/sci-biology/psipred/files/3.1-fgets.patch new file mode 100644 index 000000000000..e58d677258e0 --- /dev/null +++ b/sci-biology/psipred/files/3.1-fgets.patch @@ -0,0 +1,13 @@ +diff --git a/src/sspred_avpred.c b/src/sspred_avpred.c +index 4d8e5ff..0d82483 100644 +--- a/src/sspred_avpred.c ++++ b/src/sspred_avpred.c +@@ -213,7 +213,7 @@ predict(int argc, char **argv) + int getmtx(FILE *lfil) + { + int aa, i, j, naa; +- char buf[256], *p; ++ char buf[65536], *p; + + if (fscanf(lfil, "%d", &naa) != 1) + fail("Bad mtx file - no sequence length!"); diff --git a/sci-biology/psipred/files/3.1-path.patch b/sci-biology/psipred/files/3.1-path.patch new file mode 100644 index 000000000000..564e9c8a1ef9 --- /dev/null +++ b/sci-biology/psipred/files/3.1-path.patch @@ -0,0 +1,38 @@ +diff --git a/runpsipred b/runpsipred +index 4ccf44e..34dee99 100755 +--- a/runpsipred ++++ b/runpsipred +@@ -14,13 +14,13 @@ + set dbname = uniref90filt + + # Where the NCBI programs have been installed +-set ncbidir = /usr/local/bin ++set ncbidir = @GENTOO_PORTAGE_EPREFIX@/usr/bin + + # Where the PSIPRED V2 programs have been installed +-set execdir = ./bin ++set execdir = @GENTOO_PORTAGE_EPREFIX@/usr/bin + + # Where the PSIPRED V2 data files have been installed +-set datadir = ./data ++set datadir = @GENTOO_PORTAGE_EPREFIX@/usr/share/psipred/data + + set basename = $1:r + set rootname = $basename:t +diff --git a/runpsipred_single b/runpsipred_single +index 1f7680b..7bd5bc3 100755 +--- a/runpsipred_single ++++ b/runpsipred_single +@@ -10,10 +10,10 @@ + # NOTE: Script modified to be more cluster friendly (DTJ April 2008) + + # Where the PSIPRED V3 programs have been installed +-set execdir = ./bin ++set execdir = @GENTOO_PORTAGE_EPREFIX@/usr/bin + + # Where the PSIPRED V3 data files have been installed +-set datadir = ./data ++set datadir = @GENTOO_PORTAGE_EPREFIX@/usr/share/psipred/data + + set basename = $1:r + set rootname = $basename:t diff --git a/sci-biology/psipred/files/3.2-fgets.patch b/sci-biology/psipred/files/3.2-fgets.patch new file mode 100644 index 000000000000..ec06d141ee34 --- /dev/null +++ b/sci-biology/psipred/files/3.2-fgets.patch @@ -0,0 +1,13 @@ +diff --git a/src/sspred_avpred.c b/src/sspred_avpred.c +index 37b1332..4f04ab6 100644 +--- a/src/sspred_avpred.c ++++ b/src/sspred_avpred.c +@@ -223,7 +223,7 @@ predict(int argc, char **argv) + int getmtx(FILE *lfil) + { + int aa, i, j, naa; +- char buf[256], *p; ++ char buf[65536], *p; + + if (fscanf(lfil, "%d", &naa) != 1) + fail("Bad mtx file - no sequence length!"); diff --git a/sci-biology/psipred/metadata.xml b/sci-biology/psipred/metadata.xml new file mode 100644 index 000000000000..959160fe46b1 --- /dev/null +++ b/sci-biology/psipred/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-biology@gentoo.org</email> + <name>Gentoo Biology Project</name> + </maintainer> +</pkgmetadata> diff --git a/sci-biology/psipred/psipred-3.2.1.ebuild b/sci-biology/psipred/psipred-3.2.1.ebuild new file mode 100644 index 000000000000..556b98801f31 --- /dev/null +++ b/sci-biology/psipred/psipred-3.2.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils prefix toolchain-funcs versionator + +MY_P="${PN}$(delete_all_version_separators)" + +DESCRIPTION="Protein Secondary Structure Prediction" +HOMEPAGE="http://bioinf.cs.ucl.ac.uk/psipred/" +SRC_URI="http://bioinf.cs.ucl.ac.uk/downloads/${PN}/${MY_P}.tar.gz" + +LICENSE="psipred" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + sci-biology/ncbi-tools + || ( sci-biology/update-blastdb sci-biology/ncbi-tools++ )" +DEPEND="" + +S="${WORKDIR}" + +src_prepare() { + rm -f bin/* + epatch \ + "${FILESDIR}"/3.1-Makefile.patch \ + "${FILESDIR}"/3.1-path.patch \ + "${FILESDIR}"/3.2-fgets.patch + eprefixify runpsipred* +} + +src_compile() { + emake -C src CC=$(tc-getCC) +} + +src_install() { + emake -C src DESTDIR="${D}" install + dobin runpsipred* bin/* BLAST+/runpsipred* + insinto /usr/share/${PN} + doins -r data + dodoc README + newdoc BLAST+/README README-blast +} + +pkg_postinst() { + elog "Please use the update_blastdb.pl in order to" + elog "maintain your own local blastdb" +} diff --git a/sci-biology/psipred/psipred-3.3.ebuild b/sci-biology/psipred/psipred-3.3.ebuild new file mode 100644 index 000000000000..16c7fbd503a0 --- /dev/null +++ b/sci-biology/psipred/psipred-3.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils prefix toolchain-funcs versionator + +#MY_P="${PN}$(delete_all_version_separators)" +MY_P="${PN}${PV}" + +DESCRIPTION="Protein Secondary Structure Prediction" +HOMEPAGE="http://bioinf.cs.ucl.ac.uk/psipred/" +SRC_URI=" + http://bioinf.cs.ucl.ac.uk/downloads/${PN}/${MY_P}.tar.gz + test? ( http://bioinfadmin.cs.ucl.ac.uk/downloads/psipred/old/data/tdbdata.tar.gz )" + +LICENSE="psipred" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + sci-biology/ncbi-tools + || ( sci-biology/update-blastdb sci-biology/ncbi-tools++ )" +DEPEND="" + +S="${WORKDIR}"/${PN} + +src_prepare() { + rm -f bin/* + epatch \ + "${FILESDIR}"/3.1-Makefile.patch \ + "${FILESDIR}"/3.1-path.patch \ + "${FILESDIR}"/3.2-fgets.patch + eprefixify runpsipred* + emake -C src clean +} + +src_compile() { + emake -C src CC=$(tc-getCC) +} + +src_install() { + emake -C src DESTDIR="${D}" install + dobin runpsipred* bin/* BLAST+/runpsipred* + insinto /usr/share/${PN} + doins -r data + dodoc README +} + +pkg_postinst() { + elog "Please use the update_blastdb.pl in order to" + elog "maintain your own local blastdb" +} diff --git a/sci-biology/psipred/psipred-3.4.ebuild b/sci-biology/psipred/psipred-3.4.ebuild new file mode 100644 index 000000000000..7b71d435ae20 --- /dev/null +++ b/sci-biology/psipred/psipred-3.4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils prefix toolchain-funcs versionator + +#MY_P="${PN}$(delete_all_version_separators)" +MY_P="${PN}${PV}" + +DESCRIPTION="Protein Secondary Structure Prediction" +HOMEPAGE="http://bioinf.cs.ucl.ac.uk/psipred/" +SRC_URI=" + http://bioinf.cs.ucl.ac.uk/downloads/${PN}/${MY_P}.tar.gz + test? ( http://bioinfadmin.cs.ucl.ac.uk/downloads/psipred/old/data/tdbdata.tar.gz )" + +LICENSE="psipred" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + app-shells/tcsh + sci-biology/ncbi-tools + || ( sci-biology/update-blastdb sci-biology/ncbi-tools++ )" +DEPEND="" + +S="${WORKDIR}"/${PN} + +src_prepare() { + rm -f bin/* + epatch \ + "${FILESDIR}"/3.1-Makefile.patch \ + "${FILESDIR}"/3.1-path.patch \ + "${FILESDIR}"/3.2-fgets.patch + eprefixify runpsipred* + emake -C src clean +} + +src_compile() { + emake -C src CC=$(tc-getCC) +} + +src_install() { + emake -C src DESTDIR="${D}" install + dobin runpsipred* bin/* BLAST+/runpsipred* + insinto /usr/share/${PN} + doins -r data + dodoc README +} + +pkg_postinst() { + elog "Please use the update_blastdb.pl in order to" + elog "maintain your own local blastdb" +} diff --git a/sci-biology/psipred/psipred-3.5.ebuild b/sci-biology/psipred/psipred-3.5.ebuild new file mode 100644 index 000000000000..7b71d435ae20 --- /dev/null +++ b/sci-biology/psipred/psipred-3.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils prefix toolchain-funcs versionator + +#MY_P="${PN}$(delete_all_version_separators)" +MY_P="${PN}${PV}" + +DESCRIPTION="Protein Secondary Structure Prediction" +HOMEPAGE="http://bioinf.cs.ucl.ac.uk/psipred/" +SRC_URI=" + http://bioinf.cs.ucl.ac.uk/downloads/${PN}/${MY_P}.tar.gz + test? ( http://bioinfadmin.cs.ucl.ac.uk/downloads/psipred/old/data/tdbdata.tar.gz )" + +LICENSE="psipred" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + app-shells/tcsh + sci-biology/ncbi-tools + || ( sci-biology/update-blastdb sci-biology/ncbi-tools++ )" +DEPEND="" + +S="${WORKDIR}"/${PN} + +src_prepare() { + rm -f bin/* + epatch \ + "${FILESDIR}"/3.1-Makefile.patch \ + "${FILESDIR}"/3.1-path.patch \ + "${FILESDIR}"/3.2-fgets.patch + eprefixify runpsipred* + emake -C src clean +} + +src_compile() { + emake -C src CC=$(tc-getCC) +} + +src_install() { + emake -C src DESTDIR="${D}" install + dobin runpsipred* bin/* BLAST+/runpsipred* + insinto /usr/share/${PN} + doins -r data + dodoc README +} + +pkg_postinst() { + elog "Please use the update_blastdb.pl in order to" + elog "maintain your own local blastdb" +} |