wpkg --atleast-wpkg-version
The --atleast-wpkg-version command can be used to check that wpkg is at least a given version. For example, to make sure you have at least version 0.9.3 you would use:
if wpkg --atleast-wpkg-version 0.9.3 then # do your work here, wpkg is the good version ... else echo "error: I do not like this version! it's too old" fi;
This is quite useful to make sure that your target audience has a version that's recent enough for your environment.
The --atleast-pkgconfig-version is an alias. Note, however, that the version being checked is the wpkg version and it has no correlation with the pkg-config tool version.