1 These are driver packaging scripts for Microdia Webcam Kernel Driver
2 More info here: https://groups.google.com/group/microdia/
6 $ wget -c http://repo.or.cz/w/microdia.git?a=snapshot;sf=tgz
7 Untar it to get the following folder
10 Rename the folder to the following format
12 example /microdia-2008.10
14 Delete the following file /microdia-2008.10/Makefile
15 Replace it with the Makefile from Ubuntu packaging scripts git repo
17 Copy the /debian folder from the Ubuntu packaging scripts git repo
18 to the /microdia-2008.10 folder
20 Edit the /debian folder contents as required
21 Then in order to make a package for intrepid,
22 in the file /debian/changelog
23 change microdia-dkms (2008.10-0ubuntu1~ppa3h) hardy; urgency=low
24 to microdia-dkms (2008.10-0ubuntu1~ppa3i) intrepid; urgency=low
26 *to generate binary packages only see Note: at the bottom
28 Then open /microdia-2008.10 in a terminal
31 This will generate the source packages for PPA upload
33 remember to put your PPA details in ~/.dput.cf
34 /*Example .dput.cf file */
36 fqdn = ppa.launchpad.net
38 incoming = ~nickel62metal/ubuntu/
40 allow_unsigned_uploads = 0
41 /*Example .dput.cf file */
43 then upload the source dkms module to PPA archive
45 dput my-ppa ../${PKG_NAME}_${PKG_VERSION}-0ubuntu1~ppa3i_source.changes
50 Note: If you just want to generate binary packages for your own use
51 in a terminal window $cd to /microdia-2008.10
52 $ fakeroot debian/rules clean
53 $ fakeroot debian/rules binary
54 This will generate binary debian/ubuntu packages that only work with your kernel