Lines 3-28
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/uriparser/uriparser-0.7.4.ebuild,v 1.1 2009/03/01 18:14:03 patrick Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/uriparser/uriparser-0.7.4.ebuild,v 1.1 2009/03/01 18:14:03 patrick Exp $ |
4 |
|
4 |
|
5 |
DESCRIPTION="Uriparser is a strictly RFC 3986 compliant URI parsing library in C" |
5 |
DESCRIPTION="Uriparser is a strictly RFC 3986 compliant URI parsing library in C" |
|
|
6 |
|
6 |
HOMEPAGE="http://uriparser.sourceforge.net/" |
7 |
HOMEPAGE="http://uriparser.sourceforge.net/" |
7 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
8 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
8 |
|
9 |
|
9 |
LICENSE="BSD" |
10 |
LICENSE="BSD" |
10 |
SLOT="0" |
11 |
SLOT="0" |
11 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
12 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
12 |
IUSE="doc" |
13 |
IUSE="doc test" |
13 |
|
14 |
|
14 |
RDEPEND="" |
15 |
RDEPEND="" |
15 |
DEPEND="doc? ( app-doc/doxygen )" |
16 |
DEPEND="doc? ( >=app-doc/doxygen-1.5.8 |
|
|
17 |
>=x11-libs/qt-assistant-4.0 ) |
18 |
test? ( >=dev-util/libcpptest-1.1.0 |
19 |
dev-util/pkgconfig )" |
16 |
|
20 |
|
17 |
src_compile() { |
21 |
src_compile() { |
18 |
econf --disable-dependency-tracking |
22 |
econf \ |
|
|
23 |
$(use_enable doc) \ |
24 |
$(use_enable test) \ |
25 |
--disable-dependency-tracking \ |
26 |
--docdir=/usr/share/doc/${PF}/ \ |
27 |
|| die "econf failed" |
19 |
emake || die "emake failed" |
28 |
emake || die "emake failed" |
20 |
|
|
|
21 |
if use doc; then |
22 |
cd doc |
23 |
econf |
24 |
doxygen Doxyfile || die "doxygen failed." |
25 |
fi |
26 |
} |
29 |
} |
27 |
|
30 |
|
28 |
src_install() { |
31 |
src_install() { |
Lines 31-36
src_install() {
Link Here
|
31 |
dohtml doc/*.htm |
34 |
dohtml doc/*.htm |
32 |
|
35 |
|
33 |
if use doc; then |
36 |
if use doc; then |
34 |
dohtml doc/html/* |
37 |
insinto /usr/share/doc/${PF}/ |
|
|
38 |
doins doc/*.qch # Avoiding dodoc's compression |
35 |
fi |
39 |
fi |
36 |
} |
40 |
} |