C&C Group has agreed to acquire Irish drinks firm Gleeson Group for EUR12.4m (US$16m), subject to regulatory approval.