diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-03-04 10:20:35 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-03-04 10:20:35 +0000 |
commit | 95fb56d37fcf702ea7029d42c8e9cabcea7a5b84 (patch) | |
tree | d84fdb986cf9d70dae028bbe06032fd9f7698040 /sci-libs/mmdb/mmdb-1.21-r4.ebuild | |
parent | Mask www-client/chromium-bin for removal. (diff) | |
download | gentoo-2-95fb56d37fcf702ea7029d42c8e9cabcea7a5b84.tar.gz gentoo-2-95fb56d37fcf702ea7029d42c8e9cabcea7a5b84.tar.bz2 gentoo-2-95fb56d37fcf702ea7029d42c8e9cabcea7a5b84.zip |
Needed fixes in mmdb.pc to export includes correctly
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'sci-libs/mmdb/mmdb-1.21-r4.ebuild')
-rw-r--r-- | sci-libs/mmdb/mmdb-1.21-r4.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sci-libs/mmdb/mmdb-1.21-r4.ebuild b/sci-libs/mmdb/mmdb-1.21-r4.ebuild new file mode 100644 index 000000000000..251ae3b1b2c2 --- /dev/null +++ b/sci-libs/mmdb/mmdb-1.21-r4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mmdb/mmdb-1.21-r4.ebuild,v 1.1 2011/03/04 10:20:35 jlec Exp $ + +EAPI="3" + +inherit autotools eutils + +DESCRIPTION="The Coordinate Library is designed to assist CCP4 developers in working with coordinate files" +HOMEPAGE="http://www.ebi.ac.uk/~keb/cldoc/" +SRC_URI="http://www.ysbl.york.ac.uk/~emsley/software/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND="!<sci-libs/ccp4-libs-6.1.3" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-allignment.patch + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + # create missing mmdb.pc + cat >> "${T}"/mmdb.pc <<- EOF + prefix=${EPREFIX}/usr + exec_prefix=${EPREFIX}/usr + libdir=${EPREFIX}/usr/$(get_libdir) + includedir=${EPREFIX}/usr/include/mmdb + + Name: ${PN} + Description: Macromolecular coordinate library + Version: ${PV} + Requires: + Conflicts: + Libs: -L${EPREFIX}/usr/$(get_libdir) -lmmdb + Cflags: -I${EPREFIX}/usr/include/mmdb + + EOF + + insinto /usr/$(get_libdir)/pkgconfig + doins "${T}"/mmdb.pc || die +} |