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

(-)jag-0.2.6.ebuild (-4 / +2 lines)
Lines 25-38 Link Here
25
DEPEND="${RDEPEND}
25
DEPEND="${RDEPEND}
26
	app-arch/unzip"
26
	app-arch/unzip"
27
27
28
S=${WORKDIR}/${P}-src/jag
28
S=${WORKDIR}/${P}-src
29
29
30
src_prepare() {
30
src_prepare() {
31
	sed -i \
31
	sed -i \
32
		-e "s:/usr/local/bin:${GAMES_BINDIR}:g" \
32
		-e "s:/usr/local/bin:${GAMES_BINDIR}:g" \
33
		-e "s:/usr/local/games:${GAMES_DATADIR}:g" \
33
		-e "s:/usr/local/games:${GAMES_DATADIR}:g" \
34
		-e "s:LIBS += -lSDLmain:LIBS += -lSDL:" \
34
		Game.pro main.cpp editor/editor.pro
35
		Game.pro gamewidget.cpp editor/editor.pro
36
}
35
}
37
36
38
src_configure() {
37
src_configure() {
Lines 52-58 Link Here
52
51
53
src_install() {
52
src_install() {
54
	emake INSTALL_ROOT="${D}" install || die
53
	emake INSTALL_ROOT="${D}" install || die
55
	dodoc ../README
56
	newicon images/logo.png ${PN}.png
54
	newicon images/logo.png ${PN}.png
57
	make_desktop_entry jag Jag
55
	make_desktop_entry jag Jag
58
56

Return to bug 298771