create ttyrec cookbook.
install depend package and download source code.
write ttyrec recipe.