Not sure if anyone here has done a smog legal swap but for the most part it is a normal swap with the exception of you not removing the smog items that most people remove.
Most remove the EGR but that engine may not even have it. You will need to use the stock cast iron manifolds or get California approved headers that will fit. Headers would be hard. Make sure that you use the same cats and exhaust configuration that was on the newer vehicle.
You will need a check engine light and a working OBDII plug but most swaps hook those up since you will want to be able to scan for trouble codes.
The one spot where everyone changes things up is the EVAP system. most leave it off and kill the codes in the ECU.
So in short, if you look at any swap you will get the majority of what you need. The stuff that you will need to do over and above that would be the following. Remember, an ls1, ls2, lq4, lq9, etc are all about the same so most will be similar swaps and will give you good info.
Use stock exhaust manifolds.
use the proper catalytic converters.
EVAP system.
Exhaust and cats shoudt not be an issue.
Like I said the EVAP will be the hardest. Not impossible but a bit uncharted. Opinions are like you know what so take what I am about to say with the proper "grain of salt"
<opinion> In your situation I would get EVERYTHING from the donner vehicle that relates to the fuel system including the tank, lines, filler neck, charcoal canister, sending unit, EVAP lines, etc.
I would then buy a brand spanking new fuel tank for the blazer and figure out how to make the new sending unit/fuel pump work in the blazer tank even if that means using the mounting ring from the 2005 tank grafted into the new blazer tank. (all safety disclaimers apply here and pay a pro to weld things together lest you win a Darwin award.) Then just mount the whole EVAP/fuel system into the blazer like it was in the newer truck. Use as much from the 2005 as you can. </opinion>
Buy the service manual for the 2005 truck and study it.
Cheers,
Rufus