Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 298455 | Differences between
and this patch

Collapse All | Expand All

(-)libprelude-1.0.0.ebuild (-19 / +11 lines)
Lines 2-7 Link Here
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/libprelude/libprelude-1.0.0.ebuild,v 1.1 2010/05/27 04:54:46 jer Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libprelude/libprelude-1.0.0.ebuild,v 1.1 2010/05/27 04:54:46 jer Exp $
4
4
5
EAPI=2
6
5
inherit perl-module flag-o-matic eutils
7
inherit perl-module flag-o-matic eutils
6
8
7
DESCRIPTION="Prelude-IDS Framework Library"
9
DESCRIPTION="Prelude-IDS Framework Library"
Lines 19-52 Link Here
19
DEPEND="${RDEPEND}
21
DEPEND="${RDEPEND}
20
	sys-devel/flex"
22
	sys-devel/flex"
21
23
22
pkg_setup() {
24
src_configure() {
23
	use perl && perl-module_pkg_setup
24
}
25
26
src_unpack() {
27
	unpack ${A}
28
	cd "${S}"
29
	filter-lfs-flags
25
	filter-lfs-flags
30
}
31
32
src_compile() {
33
	econf \
26
	econf \
34
		$(use_enable doc gtk-doc) \
27
		$(use_enable doc gtk-doc) \
35
		$(use_with swig) \
28
		$(use_with swig) \
36
		$(use_with perl) \
29
		$(use_with perl) \
37
		$(use_with python) \
30
		$(use_with python) \
38
		$(use_enable easy-bindings) \
31
		$(use_enable easy-bindings)
39
		|| die "econf failed"
32
}
40
33
34
src_compile() {
41
	emake OTHERLDFLAGS="${LDFLAGS}" || die "emake failed"
35
	emake OTHERLDFLAGS="${LDFLAGS}" || die "emake failed"
42
}
36
}
43
37
44
src_install() {
38
src_install() {
45
	emake DESTDIR="${D}" install || die "make install failed"
39
	emake DESTDIR="${D}" INSTALLDIRS=vendor install || die "make install failed"
46
	use perl && fixlocalpod
40
	if use perl ; then
41
		perl_delete_localpod
42
		perl_delete_packlist
43
	fi
47
}
44
}
48
49
pkg_preinst() { use perl && perl-module_pkg_preinst ; }
50
pkg_postinst() { use perl && perl-module_pkg_postinst ; }
51
pkg_prerm() { use perl && perl-module_pkg_prerm ; }
52
pkg_postrm() { use perl && perl-module_pkg_postrm ; }

Return to bug 298455