install (debian):

sudo apt-get install cuetools shntool vorbis-tools

using:

split album .flac file into separate tracks:

cuebreakpoints sample.cue | shnsplit -o flac sample.flac

fill flac tags (if present):

cuetag sample.cue split-track*.flac

and convert splited .flac to .ogg

find . -name 'split-track*.flac' -exec oggenc -q9 {} \;
# \w GNU parallel
find . -type f -name 'split-track*.flac' | parallel -j $(getconf _NPROCESSORS_ONLN) oggenc -q9 {} \;