Lines 1-6
Link Here
|
1 |
# Copyright 1999-2010 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-lang/orc/orc-0.4.4.ebuild,v 1.4 2010/04/26 15:31:14 darkside Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI=3 |
5 |
EAPI=3 |
6 |
|
6 |
|
Lines 11-28
Link Here
|
11 |
LICENSE="BSD BSD-2" |
11 |
LICENSE="BSD BSD-2" |
12 |
SLOT="0" |
12 |
SLOT="0" |
13 |
KEYWORDS="~amd64 ~x86 ~amd64-linux" |
13 |
KEYWORDS="~amd64 ~x86 ~amd64-linux" |
14 |
IUSE="" |
14 |
IUSE="static-libs doc" |
15 |
|
15 |
|
16 |
src_configure() { |
16 |
src_configure() { |
17 |
econf \ |
17 |
econf ${myconf} \ |
18 |
--disable-static \ |
18 |
$(use_enable static-libs static) \ |
19 |
--disable-dependency-tracking \ |
19 |
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
20 |
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html |
20 |
--disable-dependency-tracking |
21 |
} |
21 |
} |
22 |
|
22 |
|
23 |
src_install() { |
23 |
src_install() { |
24 |
emake DESTDIR="${D}" install || die |
24 |
emake DESTDIR="${D}" install || die |
25 |
dodoc README TODO |
25 |
dodoc README TODO |
26 |
|
26 |
|
27 |
find "${ED}" -name '*.la' -delete |
27 |
use static-libs || find "${ED}" -name '*.la' -delete |
|
|
28 |
use doc || rm -r "${ED}"/usr/share/doc/${PF}/html |
28 |
} |
29 |
} |