On the generation of temporally shaped laser pulses for inertial confinement