Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 113526
Collapse All | Expand All

(-)ruby-xslt-0.8.1.ebuild (-2 / +21 lines)
Lines 13-22 Link Here
13
LICENSE="GPL-2"
13
LICENSE="GPL-2"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~x86"
15
KEYWORDS="~x86"
16
IUSE=""
16
IUSE="doc"
17
17
18
USE_RUBY="ruby18 ruby19"
18
USE_RUBY="ruby18 ruby19"
19
19
20
DEPEND=">=dev-lang/ruby-1.8"
20
DEPEND=">=dev-lang/ruby-1.8
21
>=dev-libs/libxslt-1.1.12"
21
22
22
S="${WORKDIR}/${PN}"
23
S="${WORKDIR}/${PN}"
24
25
src_compile() {
26
	econf --enable-error-handler || die "could not configure"
27
	emake || die "emake failed"
28
	
29
	if use doc; then
30
	emake doc
31
	fi
32
}
33
34
src_install() {
35
	ruby_einstall "$@" || die
36
	
37
	if use doc; then
38
	docinto doc
39
	dohtml -r doc
40
	fi
41
}	

Return to bug 113526