blob: 5528389ae7ffc8316c8df5187093a72884484c47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/monotone/monotone-0.16.ebuild,v 1.5 2005/04/19 21:32:29 dragonheart Exp $
inherit eutils flag-o-matic
DESCRIPTION="Monotone Distributed Version Control System"
HOMEPAGE="http://www.venge.net/monotone/"
SRC_URI="http://www.venge.net/monotone/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
#Target Keywords ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64"
IUSE="nls"
# "doc"
RDEPEND=">=dev-libs/boost-1.31.0
dev-libs/popt"
DEPEND="${RDEPEND}
>=sys-devel/gcc-3.2
sys-devel/gettext
doc? ( dev-lang/perl sys-apps/texinfo )"
src_compile() {
# more aggressive optimizations cause trouble with the
# crypto library
# disable stack protector
strip-flags
# replace-flags -O3 -O2
append-flags -fno-stack-protector-all -fno-stack-protector -fno-strict-aliasing
econf `use_enable nls` || die
emake || die "emake failed"
}
src_test() {
make check
einfo "test may fail on test 62"
}
src_install() {
emake DESTDIR="${D}" install || die
# Generate html docs
#if use doc ; then
# emake html || die "emake html failed"
# dohtml -r html/*
#fi
dodoc NEWS
}
|