diff options
author | Justin Lecher <jlec@gentoo.org> | 2017-01-29 14:02:31 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2017-01-29 14:02:40 +0000 |
commit | f806a9d8e446c02b00291d1e439b7c7be5d979c1 (patch) | |
tree | 60ea74b824015dac947649791c8a6ffe53606fb9 /sci-libs/cifparse-obj/cifparse-obj-7.105.ebuild | |
parent | sci-libs/cifparse-obj: Add support for gcc-6 (diff) | |
download | gentoo-f806a9d8e446c02b00291d1e439b7c7be5d979c1.tar.gz gentoo-f806a9d8e446c02b00291d1e439b7c7be5d979c1.tar.bz2 gentoo-f806a9d8e446c02b00291d1e439b7c7be5d979c1.zip |
sci-libs/cifparse-obj: Version Bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-libs/cifparse-obj/cifparse-obj-7.105.ebuild')
-rw-r--r-- | sci-libs/cifparse-obj/cifparse-obj-7.105.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/sci-libs/cifparse-obj/cifparse-obj-7.105.ebuild b/sci-libs/cifparse-obj/cifparse-obj-7.105.ebuild new file mode 100644 index 000000000000..de696526467f --- /dev/null +++ b/sci-libs/cifparse-obj/cifparse-obj-7.105.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils toolchain-funcs + +MY_P="${PN}-v${PV}-prod-src" + +DESCRIPTION="Provides an object-oriented application interface to information in mmCIF format" +HOMEPAGE="http://sw-tools.pdb.org/apps/CIFPARSE-OBJ/index.html" +SRC_URI="http://sw-tools.pdb.org/apps/CIFPARSE-OBJ/source/${MY_P}.tar.gz" + +LICENSE="PDB" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="" + +RDEPEND="" +DEPEND=" + sys-devel/bison + sys-devel/flex" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch + "${FILESDIR}"/${PN}-7.025-gcc5_6.patch +) + +src_prepare() { + default + + sed \ + -e "s:^\(CC=\).*:\1$(tc-getCC):g" \ + -e "s:^\(CCC=\).*:\1$(tc-getCXX):g" \ + -e "s:^\(F77=\).*:\1${FORTRANC}:g" \ + -e "s:^\(F77_LINKER=\).*:\1${FORTRANC}:g" \ + -e "s:-static::g" \ + -i "${S}"/etc/make.* || die "Failed to fix makefile" +} + +src_compile() { + # parallel make fails + emake -j1 \ + C_OPT="${CFLAGS}" \ + CXX_OPT="${CXXFLAGS}" +} + +src_install() { + dolib.a lib/* + insinto /usr/include/${PN} + doins include/* +} |