blob: 8d51f73f4b5cd2c13ca9a4926a7e60f8d5548af9 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libwrapiter/libwrapiter-1.0.0.ebuild,v 1.2 2006/12/23 12:35:59 drizzt Exp $
DESCRIPTION="C++ template library for avoiding exposing privates via iterators"
HOMEPAGE="http://libwrapiter.berlios.de/"
SRC_URI="http://download.berlios.de/libwrapiter/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="doc"
DEPEND="
>=sys-devel/autoconf-2.59
=sys-devel/automake-1.9*
doc? ( app-doc/doxygen )"
RDEPEND=""
ESVN_REPO_URI="svn://svn.berlios.de/libwrapiter/trunk"
ESVN_BOOTSTRAP="./autogen.bash"
src_compile() {
econf \
$(use_enable doc doxygen ) \
|| die "econf failed"
emake || die "emake failed"
if use doc ; then
make doxygen || die "make doxygen failed"
fi
}
src_install() {
make DESTDIR="${D}" install || die "install failed"
dodoc AUTHORS README ChangeLog NEWS
if use doc ; then
dohtml -V -r doc/html/
fi
}
src_test() {
emake check || die "Make check failed"
}
|