string manipulation

Hi,
I have the followoing details in one file:

opt/tra/domain/test/new/filename1
training/ear/help

I need to manipulate the string in the following manner:

filename1= opt/tra/domain/test/new/filename1
help=training/ear/help
last string is the name and equal sign and then original pathname
Please help me...

Thanks,
Chella.

$ awk -F/ '{print $NF"="$0}' infile
filename1=opt/tra/domain/test/new/filename1
help=training/ear/help

Thank you so much!!!!!