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 [2010/07/19 16:28] danielmdx_debian_package [2011/07/18 12:32] (current) – [1) Create Makefile and build] daniel
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 some-email@domain.tld</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 =====
Line 29: Line 28:
  
 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
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.1279556894.txt.gz · Last modified: 2010/07/19 16:28 by daniel