A simple model of porous media with elastic deformations and erosion or deposition