Porting install file for date-api

I moved part of them. but let's leave this one here until we get working version.