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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Oct 18 16:46:29 2012 UTC (2 years, 2 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
sci-libs/libpdb++: Straighten ebuild by cleaning the buildsystem

(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.ebuild,v 1.3 2010/03/07 21:59:04 jlec Exp $
4
5 EAPI="3"
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 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
15 LICENSE="BSD"
16 IUSE=""
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}"/${PV}-dynlib.patch
30 }
31
32 src_compile() {
33 emake \
34 CXX="$(tc-getCXX)" \
35 CCFLAGS="${CXXFLAGS} -fPIC -felide-constructors" \
36 || die
37 }
38
39 src_install() {
40 dolib.a ${PN}.a || die
41 dolib.so ${PN}.so.0.1 || die
42 dosym ${PN}.so.0.1 /usr/$(get_libdir)/${PN}.so.0
43 dosym ${PN}.so.0.1 /usr/$(get_libdir)/${PN}.so
44 insinto /usr/include/${PN}
45 doins *.h || die
46 }

  ViewVC Help
Powered by ViewVC 1.1.20