Penguin
Diff: DebianPackaging
EditPageHistoryDiffInfoLikePages

Differences between current version and revision by previous author of DebianPackaging.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 8 Last edited on Wednesday, July 20, 2005 5:18:55 pm by MattBrown
Older page: version 7 Last edited on Monday, August 23, 2004 2:17:33 pm by PerryLorier Revert
@@ -1,21 +1,21 @@
 Some notes from the WLUG meeting on [Debian] and packaging: 
  
 To create Debian packages, install: 
-  
-dpkg-dev, file, gcc, g++, libc6-dev, make, patch, perl, dh-make, debhelper, fakeroot, gnupg and lintian.  
- 
+<verbatim>  
+apt-get install dpkg-dev, file, gcc, g++, libc6-dev, make, patch, perl, dh-make, debhelper, fakeroot, gnupg, lintian.  
+</verbatim>  
 * Choose a program 
 * Check no-one else is developing it already 
 * Debian: must have a license, as free as possible 
 * Get the source, make sure the source works 
-* Run dh_make -e your@maintainer.address -f ../filename-version.tar.gz in the source dir & pick package type 
+* Run '' dh_make -e your@maintainer.address -f ../filename-version.tar.gz'' in the source dir & pick package type 
 ** Single binary - creates debian/ directory 
 * Make the program install in a subdirectory using Makefile and debian/rules 
 * Edit debian/control, changelog, copyright, README.Debian etc 
 * dpkg-buildpackage -rfakeroot 
  
-Investigate package with dpkg --info file, dpkg --contents file and lintian file 
+Investigate package with '' dpkg --info file'' , '' dpkg --contents file'' and '' lintian file''  
  
 make sure makefile has a proper install target, syntax of install program 
 install -d $(BIN) $(ICONS) $(DESTDIR)/etc 
 install -m644 file $(BIN) etc 
@@ -26,18 +26,17 @@
 copyright file 
 changelog file 
 rules file - makefile. 
  
+<verbatim>  
 dpkg-buildpackage -rfakeroot 
-  
-  
- ----  
-  
-The official reference for package building is the "Debian New Maintainer 's Guide", available at http://www.debian.org/doc/maint-guide/  
-  
-The "Debian Policy Manual" is also an invaluable reference with lots of the finer details and information on making your packages comply with the Debian Policy (a must if you are trying to get them in to the actual distribution), get it at http://www .debian.org/doc/debian-policy/  
+</verbatim>  
+You may want to also specify -uc and -us to ''dpkg -buildpackage' ' to prevent it from attempting to sign the package
  
 ---- 
+! Other Resources  
+* The official reference for package building is the "Debian New Maintainer's Guide", available at http://www.debian.org/doc/maint-guide/  
+* The "Debian Policy Manual" is also an invaluable reference with lots of the finer details and information on making your packages comply with the Debian Policy (a must if you are trying to get them in to the actual distribution), get it at http://www.debian.org/doc/debian-policy/  
+* AsSeenOnSlashdot, for a guide to making [Debian Packages|http://www-106.ibm.com/developerworks/linux/library/l-debpkg.html?ca=dgr-lnxw01DebianLinux]  
  
-Here is a link, AsSeenOnSlashdot, for a guide to making [Debian Packages|http://www-106.ibm.com/developerworks/linux/library/l-debpkg.html?ca=dgr-lnxw01DebianLinux]  
 ---- 
 CategoryDebian