/[gentoo-x86]/sci-libs/libpdb++/libpdb++-040728-r1.ebuild
Gentoo

Contents of /sci-libs/libpdb++/libpdb++-040728-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Oct 18 16:57:39 2012 UTC (21 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
sci-libs/libpdb++: Fix silent errors

(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)

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/libpdb++/libpdb++-040728-r1.ebuild,v 1.1 2012/10/18 16:46:29 jlec Exp $
4
5 EAPI=4
6
7 inherit eutils multilib toolchain-funcs
8
9 DESCRIPTION="PDB Record I/O Libraries -- c++ version"
10 HOMEPAGE="http://www.cgl.ucsf.edu/Overview/software.html"
11 SRC_URI="mirror://gentoo/${P}.shar"
12
13 SLOT="0"
14 LICENSE="BSD"
15 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
16 IUSE="static-libs"
17
18 RDEPEND=""
19 DEPEND="${RDEPEND}
20 app-arch/sharutils"
21
22 S="${WORKDIR}"/${PN}
23
24 src_unpack() {
25 "${EPREFIX}/usr/bin/unshar" "${DISTDIR}"/${A} || die
26 }
27
28 src_prepare() {
29 epatch "${FILESDIR}"/${P}-dynlib+flags.patch
30 tc-export CXX AR RANLIB
31 }
32
33 src_compile() {
34 emake ${PN}.so
35 use static-libs && emake ${PN}.a
36 }
37
38 src_install() {
39 dolib.so ${PN}.so*
40 use static-libs && dolib.a ${PN}.a
41
42 insinto /usr/include/${PN}
43 doins *.h
44 }

  ViewVC Help
Powered by ViewVC 1.1.20