From 87ac2c93178e64c1e36a9cd01c0cd346cea6ce7d Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 6 Jan 2018 12:53:57 +0000 Subject: sci-libs/mmdb: Build shared libs Closes: https://bugs.gentoo.org/641534 Closes: https://bugs.gentoo.org/642944 Signed-off-by: Justin Lecher Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- sci-libs/mmdb/mmdb-2.0.5-r1.ebuild | 30 ++++++++++++++++++++++++++++++ sci-libs/mmdb/mmdb-2.0.5.ebuild | 17 ----------------- 2 files changed, 30 insertions(+), 17 deletions(-) create mode 100644 sci-libs/mmdb/mmdb-2.0.5-r1.ebuild delete mode 100644 sci-libs/mmdb/mmdb-2.0.5.ebuild (limited to 'sci-libs/mmdb') diff --git a/sci-libs/mmdb/mmdb-2.0.5-r1.ebuild b/sci-libs/mmdb/mmdb-2.0.5-r1.ebuild new file mode 100644 index 000000000000..d9a8ad2243da --- /dev/null +++ b/sci-libs/mmdb/mmdb-2.0.5-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P="${PN}2-${PV}" + +DESCRIPTION="The Coordinate Library for working with CCP4 coordinate files" +HOMEPAGE="https://launchpad.net/mmdb/" +SRC_URI="ftp://ftp.ccp4.ac.uk/opensource/${MY_P}.tar.gz" + +LICENSE="GPL-2 LGPL-3" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="static-libs" + +S="${WORKDIR}"/${MY_P} + +src_configure() { + econf \ + --enable-shared \ + $(use_enable static-libs static) +} + +src_install() { + default + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi +} diff --git a/sci-libs/mmdb/mmdb-2.0.5.ebuild b/sci-libs/mmdb/mmdb-2.0.5.ebuild deleted file mode 100644 index c19513a77290..000000000000 --- a/sci-libs/mmdb/mmdb-2.0.5.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_P="${PN}2-${PV}" - -DESCRIPTION="The Coordinate Library for working with CCP4 coordinate files" -HOMEPAGE="https://launchpad.net/mmdb/" -SRC_URI="ftp://ftp.ccp4.ac.uk/opensource/${MY_P}.tar.gz" - -LICENSE="GPL-2 LGPL-3" -SLOT="2" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="static-libs" - -S="${WORKDIR}"/${MY_P} -- cgit v1.2.3-65-gdbad