In the analagous directory to '/home/user/myemacs' copy the three .el files.
Also, in the .emacs file change the paths to gap (as well as the default memory allocation) as appropriate.
Note, I did not author these, but found them years ago, but have not been able to find any updated versions.