sis files are basically just installation files that are containing other files. Basically a bit like Zip files.
So all they do is they contain files & their destination folders, and the phone is just taking these files out from the SIS and putting them into correct locations.
So you can use normal makesis to put your gif files into sis files. See SDK docs for more information.