Migrating to SPM, best practise?

I have a small sockets based framework on Github (SwifterSockets).
It was created before SPM existed.
The next update is planned, and I want to move to SPM.

1) How to create a package around the old xcode project?
2) I am unsure how to move from the old git structure to the new.

What would be the best/easiest way to achieve this?


Site: http://balancingrock.nl
Blog: http://swiftrien.blogspot.com
Github: Swiftrien (Rien) · GitHub
Project: http://swiftfire.nl