Difference between revisions of "DEB package notes - dpkg, apt, aptitude, and friends"
From Noah.org
Jump to navigationJump to searchm |
m |
||
Line 6: | Line 6: | ||
;dh-make:Convert an existing source package to your own package for modification. | ;dh-make:Convert an existing source package to your own package for modification. | ||
− | |||
<pre> | <pre> | ||
aptitude -q -y install dh-make pbuilder | aptitude -q -y install dh-make pbuilder | ||
</pre> | </pre> | ||
+ | |||
+ | == How To == | ||
+ | |||
+ | # Put all source into a directory named package-version. | ||
+ | # Modify source directory as specified in http://www.debian.org/doc/maint-guide/ch-modify.en.html | ||
+ | # When you are done cd above this directory. | ||
+ | # create package-version.tar.gz source tarball: `tar czf package-version.tar.gz package-version`. | ||
+ | # Create initial debian package environment: `cd package-version/;dh_make -e user@example.com -f ../package-version.tar.gz`. This will create a new "debian" directory. | ||
+ | # Edit these files ./debian/control ./debian/copyright ./debian/license |
Revision as of 16:49, 3 December 2008
debian control directory
- debian/
- root name of a package control directory.
- dh-make
- Convert an existing source package to your own package for modification.
aptitude -q -y install dh-make pbuilder
How To
- Put all source into a directory named package-version.
- Modify source directory as specified in http://www.debian.org/doc/maint-guide/ch-modify.en.html
- When you are done cd above this directory.
- create package-version.tar.gz source tarball: `tar czf package-version.tar.gz package-version`.
- Create initial debian package environment: `cd package-version/;dh_make -e user@example.com -f ../package-version.tar.gz`. This will create a new "debian" directory.
- Edit these files ./debian/control ./debian/copyright ./debian/license