/[gentoo-x86]/sci-libs/mmdb/mmdb-1.24.ebuild
Gentoo

Contents of /sci-libs/mmdb/mmdb-1.24.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Dec 6 04:08:35 2012 UTC (21 months, 2 weeks ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
x86 stable wrt bug #445102

(Portage version: 2.1.11.31/cvs/Linux i686, signed Manifest commit with key 30427902)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/mmdb/mmdb-1.24.ebuild,v 1.5 2012/12/03 16:21:52 jlec Exp $
4
5 EAPI=4
6
7 inherit autotools-utils
8
9 DESCRIPTION="The Coordinate Library, designed to assist CCP4 developers in working with coordinate files"
10 HOMEPAGE="http://launchpad.net/mmdb/"
11 SRC_URI="
12 http://www.ysbl.york.ac.uk/~emsley/software/${P}.tar.gz
13 http://launchpad.net/mmdb/1.23/${PV}/+download/${P}.tar.gz"
14
15 LICENSE="GPL-2 LGPL-3"
16 SLOT="0"
17 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
18 IUSE="static-libs"
19
20 DEPEND="!<sci-libs/ccp4-libs-6.1.3"
21 RDEPEND=""
22
23 src_install() {
24 autotools-utils_src_install
25
26 # create missing mmdb.pc
27 cat >> "${T}"/mmdb.pc <<- EOF
28 prefix=${EPREFIX}/usr
29 exec_prefix=${EPREFIX}/usr
30 libdir=${EPREFIX}/usr/$(get_libdir)
31 includedir=${EPREFIX}/usr/include/mmdb
32
33 Name: ${PN}
34 Description: Macromolecular coordinate library
35 Version: ${PV}
36 Requires:
37 Conflicts:
38 Libs: -L${EPREFIX}/usr/$(get_libdir) -lmmdb
39 Cflags: -I${EPREFIX}/usr/include/mmdb
40
41 EOF
42
43 insinto /usr/$(get_libdir)/pkgconfig
44 doins "${T}"/mmdb.pc
45 }

  ViewVC Help
Powered by ViewVC 1.1.20