From: | "Jory Pratt (anarchy)" <anarchy@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/jemalloc: metadata.xml ChangeLog jemalloc-2.0.1.ebuild |
Date: | Thu, 30 Dec 2010 14:11:53 |
Message-Id: | 20101230141143.80AAB20054@flycatcher.gentoo.org |
1 | anarchy 10/12/30 14:11:43 |
2 | |
3 | Added: metadata.xml ChangeLog jemalloc-2.0.1.ebuild |
4 | Log: |
5 | add jemalloc to tree |
6 | |
7 | (Portage version: 2.1.9.26/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/jemalloc/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jemalloc/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jemalloc/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>mozilla</herd> |
21 | <longdescription lang="en"> |
22 | Jemalloc is a general-purpose scalable concurrent allocator |
23 | </longdescription> |
24 | <use> |
25 | <flag name='profile'>Enable allocation profiling</flag> |
26 | <flag name='stats'>Enable statistics calculation/reporting</flag> |
27 | </use> |
28 | </pkgmetadata> |
29 | |
30 | |
31 | |
32 | |
33 | 1.1 dev-libs/jemalloc/ChangeLog |
34 | |
35 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jemalloc/ChangeLog?rev=1.1&view=markup |
36 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jemalloc/ChangeLog?rev=1.1&content-type=text/plain |
37 | |
38 | Index: ChangeLog |
39 | =================================================================== |
40 | # ChangeLog for dev-libs/jemalloc |
41 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
42 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/jemalloc/ChangeLog,v 1.1 2010/12/30 14:11:43 anarchy Exp $ |
43 | |
44 | *jemalloc-2.0.1 (30 Dec 2010) |
45 | |
46 | 30 Dec 2010; Jory A. Pratt <anarchy@g.o> +jemalloc-2.0.1.ebuild, |
47 | +files/jemalloc-strip-optimization.patch, +metadata.xml: |
48 | initial import to tree |
49 | |
50 | |
51 | |
52 | |
53 | 1.1 dev-libs/jemalloc/jemalloc-2.0.1.ebuild |
54 | |
55 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jemalloc/jemalloc-2.0.1.ebuild?rev=1.1&view=markup |
56 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jemalloc/jemalloc-2.0.1.ebuild?rev=1.1&content-type=text/plain |
57 | |
58 | Index: jemalloc-2.0.1.ebuild |
59 | =================================================================== |
60 | # Copyright 1999-2010 Gentoo Foundation |
61 | # Distributed under the terms of the GNU General Public License v2 |
62 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/jemalloc/jemalloc-2.0.1.ebuild,v 1.1 2010/12/30 14:11:43 anarchy Exp $ |
63 | |
64 | EAPI="2" |
65 | |
66 | inherit autotools eutils flag-o-matic |
67 | |
68 | DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator" |
69 | HOMEPAGE="http://www.canonware.com/jemalloc/" |
70 | SRC_URI="http://www.canonware.com/download/${PN}/${P}.tar.bz2" |
71 | |
72 | LICENSE="BSD" |
73 | SLOT="0" |
74 | KEYWORDS="~amd64 ~x86" |
75 | |
76 | IUSE="debug profile stats" |
77 | |
78 | DEPEND="" |
79 | RDEPEND="" |
80 | |
81 | src_prepare() { |
82 | epatch "${FILESDIR}/${PN}-strip-optimization.patch" |
83 | |
84 | eautoreconf |
85 | } |
86 | |
87 | src_configure() { |
88 | econf \ |
89 | $(use_enable debug) \ |
90 | $(use_enable profile prof) \ |
91 | $(use_enable stats) \ |
92 | || die "configure failed" |
93 | } |
94 | |
95 | src_install() { |
96 | make DESTDIR="${D}" install |
97 | } |