In an adequate manner.
"The shelter was built adequately to withstand the harsh winter storms."
Adequately comes from the word adequate, which itself derives from Latin meaning "fitting." The addition of the suffix -ly simply turned this adjective into an adverb to describe how something is done.