diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-03 20:56:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-03 20:56:28 +0100 |
commit | fbda87924e6faa7a1919f1a2b4182490bde5ec5c (patch) | |
tree | f3114a4ed212a754756adce027aeef3a4a1a2e2a /sci-chemistry/dssp/dssp-2.2.1-r3.ebuild | |
parent | 3b08f674e3f771b49370edb144dab0958c8cf721 (diff) |
gentoo resync : 03.09.2021
Diffstat (limited to 'sci-chemistry/dssp/dssp-2.2.1-r3.ebuild')
-rw-r--r-- | sci-chemistry/dssp/dssp-2.2.1-r3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sci-chemistry/dssp/dssp-2.2.1-r3.ebuild b/sci-chemistry/dssp/dssp-2.2.1-r3.ebuild new file mode 100644 index 000000000000..8697005fc2cd --- /dev/null +++ b/sci-chemistry/dssp/dssp-2.2.1-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="The protein secondary structure standard" +HOMEPAGE="https://swift.cmbi.umcn.nl/gv/dssp/" +SRC_URI="ftp://ftp.cmbi.ru.nl/pub/molbio/software/dssp-2/${P}.tgz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="dev-libs/boost:=[bzip2,zlib,threads(+)]" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.1.0-gentoo.patch + "${FILESDIR}"/${PN}-2.2.1-boost-1.65-tr1-removal.patch +) + +src_configure() { + tc-export CXX + + cat >> make.config <<- EOF || die + BOOST_LIB_DIR = "${EPREFIX}/usr/$(get_libdir)" + BOOST_INC_DIR = "${EPREFIX}/usr/include" + EOF +} + +src_install() { + dobin mkdssp + dosym mkdssp /usr/bin/dssp + doman doc/mkdssp.1 + dodoc README.txt changelog + + doenvd "${FILESDIR}"/30-${PN} +} |