In theory you should be able to do this by editing the preferences.txt file and changing the mcu and target directory, and then porting the libraries from the atmega8 to that attiny. In practice, it's tricky, since that tiny only has 2Kb of program space (compared to 8 Kb on the atmega8).