189 |
--continue \ |
--continue \ |
190 |
--progress bar \ |
--progress bar \ |
191 |
--directory-prefix="${my_SOURCEDIR}" \ |
--directory-prefix="${my_SOURCEDIR}" \ |
192 |
|
--output-document="$(basename ${my_SRC_URI_MIRROR})" \ |
193 |
"${my_SRC_URI_MIRROR}" |
"${my_SRC_URI_MIRROR}" |
194 |
if [[ $? = 0 ]] |
if [[ $? = 0 ]] |
195 |
then |
then |
214 |
--continue \ |
--continue \ |
215 |
--progress bar \ |
--progress bar \ |
216 |
--directory-prefix="${my_SOURCEDIR}" \ |
--directory-prefix="${my_SOURCEDIR}" \ |
217 |
|
--output-document="$(basename ${my_SRC_URI_MIRROR})" \ |
218 |
"${my_SRC_URI_MIRROR}" |
"${my_SRC_URI_MIRROR}" |
219 |
if [[ $? = 0 ]] |
if [[ $? = 0 ]] |
220 |
then |
then |
239 |
--continue \ |
--continue \ |
240 |
--progress bar \ |
--progress bar \ |
241 |
--directory-prefix="${my_SOURCEDIR}" \ |
--directory-prefix="${my_SOURCEDIR}" \ |
242 |
|
--output-document="$(basename ${my_SRC_URI_MIRROR})" \ |
243 |
"${my_SRC_URI_MIRROR}" |
"${my_SRC_URI_MIRROR}" |
244 |
if [[ $? = 0 ]] |
if [[ $? = 0 ]] |
245 |
then |
then |
264 |
--continue \ |
--continue \ |
265 |
--progress bar \ |
--progress bar \ |
266 |
--directory-prefix="${my_SOURCEDIR}" \ |
--directory-prefix="${my_SOURCEDIR}" \ |
267 |
|
--output-document="$(basename ${my_SRC_URI_MIRROR})" \ |
268 |
"${my_SRC_URI_MIRROR}" |
"${my_SRC_URI_MIRROR}" |
269 |
if [[ $? = 0 ]] |
if [[ $? = 0 ]] |
270 |
then |
then |
289 |
--continue \ |
--continue \ |
290 |
--progress bar \ |
--progress bar \ |
291 |
--directory-prefix="${my_SOURCEDIR}" \ |
--directory-prefix="${my_SOURCEDIR}" \ |
292 |
|
--output-document="$(basename ${my_SRC_URI_MIRROR})" \ |
293 |
"${my_SRC_URI_MIRROR}" |
"${my_SRC_URI_MIRROR}" |
294 |
if [[ $? = 0 ]] |
if [[ $? = 0 ]] |
295 |
then |
then |
309 |
--continue \ |
--continue \ |
310 |
--progress bar \ |
--progress bar \ |
311 |
--directory-prefix="${my_SOURCEDIR}" \ |
--directory-prefix="${my_SOURCEDIR}" \ |
312 |
|
--output-document="$(basename ${my_SRC_URI_MIRROR})" \ |
313 |
"${my_SRC_URI}" |
"${my_SRC_URI}" |
314 |
fi |
fi |
315 |
fi |
fi |
1225 |
[[ ! -d /var/log/smage ]] && install -d /var/log/smage |
[[ ! -d /var/log/smage ]] && install -d /var/log/smage |
1226 |
echo -e "### Build started on $(date) ###\n" > /var/log/smage/${PKGNAME}.log |
echo -e "### Build started on $(date) ###\n" > /var/log/smage/${PKGNAME}.log |
1227 |
|
|
1228 |
( src_prepare || die "src_prepare failed" ) | ${SMAGE_LOG_CMD} |
src_prepare || die "src_prepare failed" | ${SMAGE_LOG_CMD} |
1229 |
step_by_step $_ |
step_by_step $_ |
1230 |
( src_compile || die "src_compile failed" ) | ${SMAGE_LOG_CMD} |
src_compile || die "src_compile failed" | ${SMAGE_LOG_CMD} |
1231 |
step_by_step $_ |
step_by_step $_ |
1232 |
( src_install || die "src_install failed" ) | ${SMAGE_LOG_CMD} |
src_install || die "src_install failed" | ${SMAGE_LOG_CMD} |
1233 |
step_by_step $_ |
step_by_step $_ |
1234 |
|
|
1235 |
|
|