| | |
| | | sed -i -e 's/sha256:TODO/sha256:'"$SHA256"'/g' Makefile |
| | | git add Makefile |
| | | |
| | | # Unpack sources |
| | | # Unpack sources and apply patches |
| | | ! $GMAKE patch > /dev/null 2>&1 && printf "FATAL: 'gmake patch' failed!\n" >&2 && exit 1 |
| | | |
| | | # Refresh patches |
| | | ! $GMAKE refresh-patches > /dev/null 2>&1 && printf "FATAL: 'gmake refresh-patches' failed!\n" >&2 && exit 1 |
| | | git add patches 2>/dev/null |
| | | |
| | | # Cleanup after patch refresh |
| | | $GMAKE clobber > /dev/null 2>&1 |
| | | |
| | | # Prepare sources |
| | | ! $GMAKE prep > /dev/null 2>&1 && printf "FATAL: 'gmake prep' failed!\n" >&2 && exit 1 |
| | | SOURCE_DIR=$($GMAKE print-value-SOURCE_DIR) |
| | | COMPONENT_SUBDIR=$($GMAKE print-value-COMPONENT_SUBDIR) |