Lines 1-8
Link Here
|
1 |
# Copyright 1999-2009 Gentoo Foundation |
1 |
# Copyright 1999-2010 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 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dvutil/dvutil-1.0.5.ebuild,v 1.2 2009/10/04 14:47:56 ssuominen Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dvutil/dvutil-1.0.5.ebuild,v 1.2 2009/10/04 14:47:56 ssuominen Exp $ |
4 |
|
4 |
|
5 |
inherit flag-o-matic eutils |
5 |
inherit autotools eutils |
6 |
|
6 |
|
7 |
DESCRIPTION="Provides some general C++ utility classes for files, directories, dates, property lists, reference counted pointers, number conversion etc. " |
7 |
DESCRIPTION="Provides some general C++ utility classes for files, directories, dates, property lists, reference counted pointers, number conversion etc. " |
8 |
HOMEPAGE="http://tinf2.vub.ac.be/~dvermeir/software/dv/dvutil/html/" |
8 |
HOMEPAGE="http://tinf2.vub.ac.be/~dvermeir/software/dv/dvutil/html/" |
Lines 13-38
Link Here
|
13 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
13 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
14 |
IUSE="doc ssl" |
14 |
IUSE="doc ssl" |
15 |
|
15 |
|
16 |
DEPEND="ssl? ( dev-libs/openssl )" |
16 |
DEPEND="ssl? ( dev-libs/openssl |
17 |
RDEPEND="${DEPEND}" |
17 |
dev-util/pkgconfig )" |
|
|
18 |
RDEPEND="ssl? ( dev-libs/openssl )" |
18 |
|
19 |
|
19 |
src_unpack() { |
20 |
src_unpack() { |
20 |
unpack ${A} |
21 |
unpack ${A} |
21 |
cd "${S}" |
22 |
cd "${S}" |
22 |
|
23 |
epatch "${FILESDIR}/$P-gcc4.4.patch" |
23 |
sed -i 's|^\(SUBDIRS =.*\)doc\(.*\)$|\1\2|' Makefile.in || \ |
24 |
epatch "${FILESDIR}/$P-as-needed.patch" |
24 |
die "sed Makefile.in failed" |
25 |
eautoreconf |
25 |
} |
26 |
} |
26 |
|
27 |
|
27 |
src_compile() { |
28 |
src_compile() { |
28 |
if ! use ssl ; then |
29 |
econf $(use_with ssl) |
29 |
sed -i -e 's/"ssl"//' configure || die "sed failed" |
|
|
30 |
fi |
31 |
|
32 |
# Bug #247088 |
33 |
append-ldflags $(no-as-needed) |
34 |
|
35 |
econf || die "econf failed" |
36 |
emake || die "emake failed" |
30 |
emake || die "emake failed" |
37 |
} |
31 |
} |
38 |
|
32 |
|
Lines 41-47
Link Here
|
41 |
dodoc AUTHORS ChangeLog NEWS README |
35 |
dodoc AUTHORS ChangeLog NEWS README |
42 |
|
36 |
|
43 |
if use doc ; then |
37 |
if use doc ; then |
44 |
doman doc/man/*/*.[1-9] |
|
|
45 |
dohtml -r doc/html/* |
38 |
dohtml -r doc/html/* |
46 |
fi |
39 |
fi |
47 |
} |
40 |
} |