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

Collapse All | Expand All

(-)monav-0.3.ebuild (-13 / +15 lines)
Lines 26-47 Link Here
26
RDEPEND="${DEPEND}"
26
RDEPEND="${DEPEND}"
27
27
28
src_prepare() {
28
src_prepare() {
29
	epatch "${FILESDIR}"/${P}-qmake.patch || die
29
	epatch \
30
		"${FILESDIR}"/${P}-qmake.patch \
31
		"${FILESDIR}"/${P}-mapnik2.patch
30
}
32
}
31
33
32
src_configure() {
34
src_configure() {
33
	eqmake4 "${S}"/monavroutingdaemon.pro CONFIG+=nogui -o "${S}"/Makefile.routingdaemon || die
35
	eqmake4 "${S}"/monavroutingdaemon.pro CONFIG+=nogui -o "${S}"/Makefile.routingdaemon
34
36
35
	if use preprocessor ; then
37
	if use preprocessor ; then
36
		eqmake4 "${S}"/monavpreprocessor.pro CONFIG+=nogui -o "${S}"/Makefile.preprocessor || die
38
		eqmake4 "${S}"/monavpreprocessor.pro CONFIG+=nogui -o "${S}"/Makefile.preprocessor
37
	fi
39
	fi
38
40
39
	if use preprocessor-gui ; then
41
	if use preprocessor-gui ; then
40
		eqmake4 "${S}"/monavpreprocessor-gui.pro -o	"${S}"/Makefile.preprocessor-gui || die
42
		eqmake4 "${S}"/monavpreprocessor-gui.pro -o	"${S}"/Makefile.preprocessor-gui
41
	fi
43
	fi
42
44
43
	if use client ; then
45
	if use client ; then
44
		eqmake4 "${S}"/monavclient.pro -o "${S}"/Makefile.client || die
46
		eqmake4 "${S}"/monavclient.pro -o "${S}"/Makefile.client
45
	fi
47
	fi
46
}
48
}
47
49
Lines 49-79 Link Here
49
	emake -f "${S}"/Makefile.routingdaemon
51
	emake -f "${S}"/Makefile.routingdaemon
50
52
51
	if use preprocessor ; then
53
	if use preprocessor ; then
52
		emake -f "${S}"/Makefile.preprocessor || die
54
		emake -f "${S}"/Makefile.preprocessor
53
	fi
55
	fi
54
56
55
	if use preprocessor-gui ; then
57
	if use preprocessor-gui ; then
56
		emake -f "${S}"/Makefile.preprocessor-gui || die
58
		emake -f "${S}"/Makefile.preprocessor-gui
57
	fi
59
	fi
58
60
59
	if use client ; then
61
	if use client ; then
60
		emake -f "${S}"/Makefile.client || die
62
		emake -f "${S}"/Makefile.client
61
	fi
63
	fi
62
}
64
}
63
65
64
src_install() {
66
src_install() {
65
	dobin bin/daemon-test || die
67
	dobin bin/daemon-test
66
	dobin bin/monav-daemon || die
68
	dobin bin/monav-daemon
67
69
68
	if use preprocessor ; then
70
	if use preprocessor ; then
69
		dobin bin/monav-preprocessor || die
71
		dobin bin/monav-preprocessor
70
	fi
72
	fi
71
73
72
	if use preprocessor-gui ; then
74
	if use preprocessor-gui ; then
73
		dobin bin/monav-preprocessor-gui || die
75
		dobin bin/monav-preprocessor-gui
74
	fi
76
	fi
75
77
76
	if use client ; then
78
	if use client ; then
77
		dobin bin/monav || die
79
		dobin bin/monav
78
	fi
80
	fi
79
}
81
}

Return to bug 376803