Line
Link Here
|
0 |
-- games.eclass |
0 |
++ games.eclass |
Lines 11-21
Link Here
|
11 |
if [[ ${___ECLASS_ONCE_GAMES} != "recur -_+^+_- spank" ]] ; then |
11 |
if [[ ${___ECLASS_ONCE_GAMES} != "recur -_+^+_- spank" ]] ; then |
12 |
___ECLASS_ONCE_GAMES="recur -_+^+_- spank" |
12 |
___ECLASS_ONCE_GAMES="recur -_+^+_- spank" |
13 |
|
13 |
|
14 |
inherit base multilib toolchain-funcs eutils user |
14 |
inherit multilib toolchain-funcs eutils user |
15 |
|
15 |
|
16 |
case ${EAPI:-0} in |
16 |
case ${EAPI:-0} in |
17 |
0|1) EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst pkg_postinst ;; |
17 |
0|1) |
18 |
2|3|4|5) EXPORT_FUNCTIONS pkg_setup src_configure src_compile pkg_preinst pkg_postinst ;; |
18 |
inherit base |
|
|
19 |
EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst pkg_postinst ;; |
20 |
2|3|4|5) |
21 |
inherit base |
22 |
EXPORT_FUNCTIONS pkg_setup src_configure src_compile pkg_preinst pkg_postinst ;; |
23 |
6) |
24 |
EXPORT_FUNCTIONS pkg_setup src_configure pkg_preinst pkg_postinst ;; |
19 |
*) die "no support for EAPI=${EAPI} yet" ;; |
25 |
*) die "no support for EAPI=${EAPI} yet" ;; |
20 |
esac |
26 |
esac |
21 |
|
27 |
|
Lines 159-166
Link Here
|
159 |
games_src_compile() { |
165 |
games_src_compile() { |
160 |
case ${EAPI:-0} in |
166 |
case ${EAPI:-0} in |
161 |
0|1) games_src_configure ;; |
167 |
0|1) games_src_configure ;; |
|
|
168 |
2|3|4|5) base_src_make ;; |
169 |
# for compatibility only |
170 |
6) default_src_compile ;; |
162 |
esac |
171 |
esac |
163 |
base_src_make |
|
|
164 |
} |
172 |
} |
165 |
|
173 |
|
166 |
games_pkg_preinst() { |
174 |
games_pkg_preinst() { |