mdx_debian_package
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mdx_debian_package [2008/11/26 12:16] – daniel | mdx_debian_package [2011/07/18 12:32] (current) – [1) Create Makefile and build] daniel | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| We start from a fresh source tree for manitou-mdx, | We start from a fresh source tree for manitou-mdx, | ||
| - | The commands we need to create the package are available through the '' | + | The commands we need to create the package are available through the '' |
| The steps are: | The steps are: | ||
| Line 10: | Line 10: | ||
| < | < | ||
| $ cd manitou-mdx-0.9.11 | $ cd manitou-mdx-0.9.11 | ||
| - | $ perl Makefile.PL | + | $ perl Makefile.PL |
| $ make | $ make | ||
| </ | </ | ||
| - | If not setting PREFIX and DESTDIR, the files would be installed into / | ||
| ===== 2) dh_make ===== | ===== 2) dh_make ===== | ||
| - | < | + | < |
| ===== 3) Replace the contents of debian/ | ===== 3) Replace the contents of debian/ | ||
| - | | + | |
| < | < | ||
| Source: manitou-mdx | Source: manitou-mdx | ||
| Line 29: | Line 28: | ||
| Package: manitou-mdx | Package: manitou-mdx | ||
| - | Architecture: | + | Architecture: |
| Priority: optional | Priority: optional | ||
| Depends: libdbd-pg-perl (>= 1.32), libmailtools-perl (>= 1.62), libmime-perl (>= 5.417), libbit-vector-perl (>= 6.4), libdigest-sha1-perl (>= 2.11), perl | Depends: libdbd-pg-perl (>= 1.32), libmailtools-perl (>= 1.62), libmime-perl (>= 5.417), libbit-vector-perl (>= 6.4), libdigest-sha1-perl (>= 2.11), perl | ||
| Description: | Description: | ||
| - | | + | |
| </ | </ | ||
| Line 45: | Line 44: | ||
| </ | </ | ||
| - | After that step, the binary package file named manitou-mdx_0_9_11.deb should be present in the directory immediately above the source directory. It should be installable by root: | + | After that step, the binary package file named manitou-mdx_0_9_11_all.deb should be present in the directory immediately above the source directory. It should be installable by root: |
| < | < | ||
| - | # dpkg -i manitou-mdx_0_9_11.deb | + | # dpkg -i manitou-mdx_0_9_11_all.deb |
| </ | </ | ||
mdx_debian_package.1227701798.txt.gz · Last modified: 2008/11/26 12:16 by daniel
