I have a custom page and want deploy it into the pages library of the site using a feature in SharePoint 2007. Whenever the activated the page should added into the pages library and should removed on the feature deactivation event.
You want to read up on the Module element of a Feature to do this.
I should also add that you will need a Feature Receiver if you want to remove the file from the library upon Feature Deactivation. Here's how.