|
Lines 1-6
Link Here
|
| 1 |
# Copyright 1999-2012 Gentoo Foundation |
1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Id$ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/tokyocabinet/tokyocabinet-1.4.47.ebuild,v 1.10 2012/04/25 16:22:24 jlec Exp $ |
| 4 |
|
4 |
|
| 5 |
EAPI="2" |
5 |
EAPI="2" |
| 6 |
|
6 |
|
|
Lines 13-22
Link Here
|
| 13 |
LICENSE="LGPL-2.1" |
13 |
LICENSE="LGPL-2.1" |
| 14 |
SLOT="0" |
14 |
SLOT="0" |
| 15 |
KEYWORDS="alpha amd64 hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" |
15 |
KEYWORDS="alpha amd64 hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" |
| 16 |
IUSE="debug doc examples" |
16 |
IUSE="bzip2 zlib debug doc examples threads" |
| 17 |
|
17 |
|
| 18 |
DEPEND="sys-libs/zlib |
18 |
DEPEND="bzip2? ( app-arch/bzip2 ) |
| 19 |
app-arch/bzip2" |
19 |
zlib? ( sys-libs/zlib )" |
| 20 |
RDEPEND="${DEPEND}" |
20 |
RDEPEND="${DEPEND}" |
| 21 |
|
21 |
|
| 22 |
src_prepare() { |
22 |
src_prepare() { |
|
Lines 34-40
Link Here
|
| 34 |
|
34 |
|
| 35 |
src_configure() { |
35 |
src_configure() { |
| 36 |
# we use the "fastest" target without the -O3 |
36 |
# we use the "fastest" target without the -O3 |
| 37 |
econf $(use_enable debug) --enable-off64 --enable-fastest |
37 |
econf \ |
|
|
38 |
$(use_enable debug) \ |
| 39 |
$(use_enable bzip2 bzip) \ |
| 40 |
$(use_enable zlib) \ |
| 41 |
$(use_enable threads pthread) \ |
| 42 |
--enable-off64 --enable-fastest |
| 38 |
} |
43 |
} |
| 39 |
|
44 |
|
| 40 |
src_install() { |
45 |
src_install() { |