getPackageInfo function

Get information from a binary package