Penguin
Diff: DebianPackaging
EditPageHistoryDiffInfoLikePages

Differences between version 5 and predecessor to the previous major change of DebianPackaging.

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

Newer page: version 5 Last edited on Monday, August 18, 2003 11:53:46 am by CraigBox Revert
Older page: version 4 Last edited on Saturday, July 12, 2003 11:15:15 am by DanielLawson Revert
@@ -3,15 +3,33 @@
 To create Debian packages, install: 
  
 dpkg-dev, file, gcc, g++, libc6-dev, make, patch, perl, dh-make, debhelper, fakeroot, gnupg and lintian. 
  
+* 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 
+** 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 
+  
+make sure makefile has a proper install target, syntax of install program  
+install -d $(BIN) $(ICONS) $(DESTDIR)/etc  
+install -m644 file $(BIN) etc  
+  
+Editing debian files.  
+  
+Control file - add dependencies etc.  
+copyright file  
+changelog file  
+rules file - makefile.  
+  
+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/