Line
Link Here
|
0 |
-- games.eclass~ |
0 |
++ games.eclass |
Lines 120-129
Link Here
|
120 |
EOF |
120 |
EOF |
121 |
} |
121 |
} |
122 |
|
122 |
|
123 |
games_pkg_setup() { |
123 |
games_create_user() { |
124 |
tc-export CC CXX |
|
|
125 |
[[ ${GAMES_CHECK_LICENSE} == "yes" ]] && check_license ${LICENSE} |
126 |
|
127 |
enewgroup "${GAMES_GROUP}" 35 |
124 |
enewgroup "${GAMES_GROUP}" 35 |
128 |
[[ ${GAMES_USER} != "root" ]] \ |
125 |
[[ ${GAMES_USER} != "root" ]] \ |
129 |
&& enewuser "${GAMES_USER}" 35 -1 "${GAMES_PREFIX}" "${GAMES_GROUP}" |
126 |
&& enewuser "${GAMES_USER}" 35 -1 "${GAMES_PREFIX}" "${GAMES_GROUP}" |
Lines 137-142
Link Here
|
137 |
&& usermod -s /bin/bash "${GAMES_USER_DED}" |
134 |
&& usermod -s /bin/bash "${GAMES_USER_DED}" |
138 |
} |
135 |
} |
139 |
|
136 |
|
|
|
137 |
games_pkg_setup() { |
138 |
tc-export CC CXX |
139 |
[[ ${GAMES_CHECK_LICENSE} == "yes" ]] && check_license ${LICENSE} |
140 |
games_create_user |
141 |
} |
142 |
|
140 |
games_src_configure() { |
143 |
games_src_configure() { |
141 |
[[ -x ./configure ]] && egamesconf |
144 |
[[ -x ./configure ]] && egamesconf |
142 |
} |
145 |
} |