/[gentoo-x86]/dev-libs/boehm-gc/boehm-gc-7.2_alpha6.ebuild
Gentoo

Contents of /dev-libs/boehm-gc/boehm-gc-7.2_alpha6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Feb 3 12:12:05 2013 UTC (3 months, 2 weeks ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Cleanup due #22900

(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/boehm-gc/boehm-gc-7.2_alpha6.ebuild,v 1.3 2012/12/16 15:33:39 ulm Exp $
4
5 EAPI=4
6
7 AUTOTOOLS_AUTORECONF=yes
8
9 inherit autotools-utils
10
11 MY_P="gc-${PV/_/}"
12
13 DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector"
14 HOMEPAGE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
15 SRC_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/${MY_P}.tar.gz"
16
17 LICENSE="boehm-gc"
18 SLOT="0"
19 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
20 IUSE="cxx static-libs threads"
21
22 DEPEND="dev-libs/libatomic_ops"
23 RDEPEND="${DEPEND}"
24
25 S="${WORKDIR}/${MY_P}"
26
27 DOCS=( README.QUICK doc/README{,.environment,.linux,.macros} doc/barrett_diagram )
28
29 src_prepare() {
30 sed '/Cflags/s:$:/gc:g' -i bdw-gc.pc.in || die
31 sed \
32 -e '/gc_allocator.h/d' \
33 -i Makefile.am || die
34 rm -rf libatomic_ops || die
35 autotools-utils_src_prepare
36 }
37
38 src_configure() {
39 local myeconfargs=(
40 --with-libatomic-ops=yes
41 $(use_enable cxx cplusplus)
42 $(use threads || echo --disable-threads)
43 )
44 autotools-utils_src_configure
45 }
46
47 src_install() {
48 autotools-utils_src_install
49
50 rm -rf "${ED}"/usr/share/gc || die
51
52 # dist_noinst_HEADERS
53 insinto /usr/include/gc
54 doins include/{cord.h,ec.h,javaxfc.h}
55 insinto /usr/include/gc/private
56 doins include/private/*.h
57
58 dohtml doc/*.html
59 newman doc/gc.man GC_malloc.1
60 }

  ViewVC Help
Powered by ViewVC 1.1.13