Is this your residence, or a business?
If it's your residence, you can add the entire cost of the new roof to your basis in the home. Nothing is deductible on your income tax return. Increasing the basis will reduce your (possibly taxable) gain when you sell.