Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/maloc: ChangeLog maloc-0.2.1-r2.ebuild maloc-0.2.1-r1.ebuild
Date: Wed, 05 May 2010 10:33:27
Message-Id: 20100505103323.AE54A2C3F9@corvid.gentoo.org
1 jlec 10/05/05 10:33:23
2
3 Modified: ChangeLog
4 Added: maloc-0.2.1-r2.ebuild
5 Removed: maloc-0.2.1-r1.ebuild
6 Log:
7 rev bump needed
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.12 dev-libs/maloc/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/maloc/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/maloc/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/maloc/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/maloc/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 5 May 2010 10:30:44 -0000 1.11
24 +++ ChangeLog 5 May 2010 10:33:23 -0000 1.12
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/maloc
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/ChangeLog,v 1.11 2010/05/05 10:30:44 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/ChangeLog,v 1.12 2010/05/05 10:33:23 jlec Exp $
30 +
31 +*maloc-0.2.1-r2 (05 May 2010)
32 +
33 + 05 May 2010; Justin Lecher <jlec@g.o> -maloc-0.2.1-r1.ebuild,
34 + +maloc-0.2.1-r2.ebuild:
35 + rev bump needed
36
37 05 May 2010; Justin Lecher <jlec@g.o> maloc-0.2.1-r1.ebuild:
38 Build shared-libs, added static-libs for static ones
39
40
41
42 1.1 dev-libs/maloc/maloc-0.2.1-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/maloc/maloc-0.2.1-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/maloc/maloc-0.2.1-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: maloc-0.2.1-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/maloc-0.2.1-r2.ebuild,v 1.1 2010/05/05 10:33:23 jlec Exp $
52
53 EAPI="3"
54
55 inherit autotools eutils
56
57 MY_PV="0.2-1"
58
59 DESCRIPTION="Small, portable, abstract C environment library for object-oriented C programming"
60 HOMEPAGE="http://scicomp.ucsd.edu/~mholst/codes/maloc/index.html#overview"
61 SRC_URI=" http://cam.ucsd.edu/~mholst/codes/${PN}/${PN}-${MY_PV}.tar.gz"
62
63 SLOT="0"
64 LICENSE="GPL-2"
65 IUSE="mpi static-libs"
66 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
67
68 DEPEND="
69 sys-libs/readline
70 mpi? ( virtual/mpi )"
71
72 S="${WORKDIR}/${PN}"
73
74 src_prepare() {
75 epatch "${FILESDIR}"/${PV}-mpi.patch
76 eautoreconf
77 }
78
79 src_configure() {
80 # fix install location of libs in Makefile
81 sed -e "s|libdir = \${prefix}/lib/\${fetk_cpu_vendor_os}|libdir = \${prefix}/$(get_libdir)/|" \
82 -i src/aaa_lib/Makefile.in || \
83 die "failed to patch lib Makefile"
84
85 econf \
86 $(use_enable mpi) \
87 $(use_enable static-libs static) \
88 --enable-shared
89 }
90
91 src_install() {
92 # install libs and headers
93 emake DESTDIR="${D}" install || die "make install failed"
94
95 # install doc
96 dohtml doc/index.html || die "failed to install html docs"
97 }