User Tools

Site Tools


mdx_debian_package

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mdx_debian_package [2008/11/26 12:15] danielmdx_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, as obtained by un-tarring a manitou-mdx-<version>.tar.gz source archive. We'll use 0.9.11 as an example. We start from a fresh source tree for manitou-mdx, as obtained by un-tarring a manitou-mdx-<version>.tar.gz source archive. We'll use 0.9.11 as an example.
-The commands we need to create the package are available through the ''dpkg-dev'' and ''dh-make'' packages.+The commands we need to create the package are available through the ''dpkg-dev'' (or ''fakeroot''and ''dh-make'' packages.
  
 The steps are: The steps are:
Line 10: Line 10:
 <code> <code>
 $ cd manitou-mdx-0.9.11 $ cd manitou-mdx-0.9.11
-$ perl Makefile.PL PREFIX=/usr DESTDIR=""+$ perl Makefile.PL INSTALLDIRS=vendor
 $ make $ make
 </code> </code>
-If not setting PREFIX and DESTDIR, the files would be installed into /usr/local  
  
 ===== 2) dh_make ===== ===== 2) dh_make =====
  
- <code>dh_make -s --createorig -c GPL --email daniel@manitou-mail.org</code>+ <code>dh_make -s --native -c GPL --email some-email@domain.tld</code>
  
 ===== 3) Replace the contents of debian/control ===== ===== 3) Replace the contents of debian/control =====
- by these: \\ + by this file: {{control.txt}} (rename it to ''control'') or copy-paste the contents below:\\ 
 <code> <code>
 Source: manitou-mdx Source: manitou-mdx
 Section: email Section: email
 Priority: optional Priority: optional
-Maintainer: Daniel Verite <daniel@manitou-mail.org>+Maintainer: Daniel Verite <email@domain.tld>
 Build-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 Build-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
  
 Package: manitou-mdx Package: manitou-mdx
-Architecture: any+Architecture: all
 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: mail-database exchanger script for the manitou-mail software Description: mail-database exchanger script for the manitou-mail software
- Manitou is a database-driven mail user-agent and associated utilities. It provides a framework and tools for storing and exposing mail as organized data, accessible by SQL. It is aimed at handling seamlessly large mailboxes, possibly processed by multiple concurrent users.  In addition to the features commonly found in traditional mail programs, its user interface comes with some more unique, database oriented ways to organize, process and retrieve mail messages.+ Manitou is a database-driven mail user-agent and associated utilities. It provides a framework and tools for storing and exposing mail as organized data, accessible by SQL. It is aimed at handling seamlessly large mailboxes, possibly processed by multiple concurrent users.  In addition to the features commonly found in traditional mail programs, its user interface comes with some more unique, database oriented ways to organize, retrieve and process mail messages.
 </code> </code>
  
Line 45: Line 44:
 </code> </code>
  
-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:
 <code> <code>
-# dpkg -i manitou-mdx_0_9_11.deb+# dpkg -i manitou-mdx_0_9_11_all.deb
 </code> </code>
  
    
mdx_debian_package.1227701701.txt.gz · Last modified: 2008/11/26 12:15 by daniel