|
Lines 17-30
Link Here
|
| 17 |
RDEPEND="${DEPEND}" |
17 |
RDEPEND="${DEPEND}" |
| 18 |
|
18 |
|
| 19 |
src_compile() { |
19 |
src_compile() { |
|
|
20 |
sed -i 's!/games/!/!' src/Makefile.in |
| 21 |
sed -i 's!/games/!/!' textures/Makefile.in |
| 22 |
|
| 20 |
egamesconf \ |
23 |
egamesconf \ |
| 21 |
--disable-dependency-tracking \ |
24 |
--disable-dependency-tracking \ |
|
|
25 |
--datadir=${GAMES_DATADIR} \ |
| 22 |
$(use_with X) \ |
26 |
$(use_with X) \ |
| 23 |
$(use_with glut) |
27 |
$(use_with glut) |
|
|
28 |
|
| 24 |
emake || die "emake failed" |
29 |
emake || die "emake failed" |
| 25 |
} |
30 |
} |
|
|
31 |
|
| 26 |
src_install() { |
32 |
src_install() { |
| 27 |
emake DESTDIR=${D} install || die "install failed" |
33 |
|
|
|
34 |
dogamesbin src/${PN} || die "dogamesbin failed" |
| 35 |
dodoc README |
| 36 |
|
| 37 |
insinto "${GAMES_DATADIR}/${PN}/textures" |
| 38 |
doins -r textures/*.tga || die "Installing data files failed" |
| 28 |
|
39 |
|
| 29 |
doicon extra/PipeWalker.xpm |
40 |
doicon extra/PipeWalker.xpm |
| 30 |
domenu extra/pipewalker.desktop |
41 |
domenu extra/pipewalker.desktop |