325 |
src_prepare() |
src_prepare() |
326 |
{ |
{ |
327 |
echo "no src_prepare defined" |
echo "no src_prepare defined" |
|
sleep 2 |
|
328 |
return 0 |
return 0 |
329 |
} |
} |
330 |
|
|
332 |
src_compile() |
src_compile() |
333 |
{ |
{ |
334 |
echo "no src_compile defined" |
echo "no src_compile defined" |
|
sleep 2 |
|
335 |
return 0 |
return 0 |
336 |
} |
} |
337 |
|
|
339 |
src_install() |
src_install() |
340 |
{ |
{ |
341 |
echo "no src_install defined" |
echo "no src_install defined" |
|
sleep 2 |
|
342 |
return 0 |
return 0 |
343 |
} |
} |
344 |
|
|
1461 |
# setup ccache |
# setup ccache |
1462 |
[[ ${SMAGE_USE_CCACHE} = true ]] && setup_ccache_environment |
[[ ${SMAGE_USE_CCACHE} = true ]] && setup_ccache_environment |
1463 |
|
|
|
# small sleep to show our settings |
|
|
sleep 1 |
|
|
|
|
1464 |
# clean up builddir if a previously one exist |
# clean up builddir if a previously one exist |
1465 |
if [ -d ${BUILDDIR} ] |
if [ -d ${BUILDDIR} ] |
1466 |
then |
then |