parses package name and dependencies from control file