~ubuntu-branches/ubuntu/vivid/irssi-plugin-otr/vivid-proposed

« back to all changes in this revision

Viewing changes to HOWTO_PACKAGE

  • Committer: Package Import Robot
  • Author(s): Antoine Beaupré
  • Date: 2013-05-10 19:43:24 UTC
  • mfrom: (4.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130510194324-cxrycs8zwiofjia9
Tags: 1.0.0~alpha2-1
* Ship a second binary package, with debugging symbols.
* New upstream patch: gmodule-nolink.patch to remove extra linking.
* Upload to unstable now that libotr5 is usable there.
* Restore the libotr5-4.0.0-2.1 dependency to make sure this is usuable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
You can let cmake generate a package for you. But don't expect it to be in
2
 
full conformance with your distribution.
3
 
 
4
 
You'll need cmake >= 2.6. In theory, all you should have to do is:
5
 
 
6
 
        $ cmake -DCMAKE_INSTALL_TYPE=package-deb /path/to/src
7
 
        $ sudo make package
8
 
 
9
 
For an RPM it should be package-rpm and for TGZ...you can imagine.
10
 
 
11
 
I'm not sure yet if the RPMs/DEBs generated by cmake/CPack are 100% OK. You can
12
 
tweak the settings in Packaging-{RPM,DEB}.cmake. If you wanna see how CPack does
13
 
it and what variables affect it, check out:
14
 
 
15
 
        /usr/share/cmake/Modules/CPackDeb.cmake
16
 
        /usr/share/cmake/Modules/CPackRPM.cmake
17