added debian specific parts from upstream recipe