How to move project to work on Atmega8a?

I found "Tv b gone" project which i can write to my arduino. It worls perfectly. I want to make it smaller but i don't want to waste my arduino board and Atmega328P which sits inside of an arduino.
Here is a video on YouTube
Works on one IR diode (would be glad if can do the same on atmega8a)
There is a link to download the code for arduino:

Project page (guy changed the code to working on arduino)

Original project page where originally everything is working on ATtiny85.

If needed I've got Arduino UNO, USBasp (can burn program with USBasp using Eclipse C/C++ or ArduinoIDE)

I want to know if i could make it work on Atmega8 (internal oscilator/external crystal?) (got many of these, don't want to buy new microcontroller) without any effort?
I would appreciate if someone help me.

I found also something like this.

but I need EU codes

Sorry for my English. I'm from Europe.