87 | | The debian directory needs some tweaks. The control, copyright and rules are attached. |
| 87 | The {{{-p}}} sets the name of the deb. |
| 88 | |
| 89 | The debian directory needs some tweaks. The [attachment:control control], [attachment:copyright copyright] and [attachment:rules rules] are attached. Rules is most interesting in that it is functional. The key part is: |
| 90 | |
| 91 | {{{ |
| 92 | build: |
| 93 | autoreconf --install |
| 94 | ./configure --prefix=/usr |
| 95 | make |
| 96 | |
| 97 | %: |
| 98 | dh $@ |
| 99 | |
| 100 | }}} |
| 101 | |
| 102 | The {{{build}}} rule includes the build instructions from the !VirtualSquare installation pages, with the prefix given. That's what debian uses, and {{{libtool}}} will snarl the install process without it. |
| 103 | |
| 104 | Once it his in in place |
| 105 | |
| 106 | {{{ |
| 107 | $ debuild -uc -us |
| 108 | }}} |
| 109 | |
| 110 | from {{{/tmp/vde-2}}} will build the deb (in {{{/tmp}}}). {{debuild}}} runs {{{lintian}}} which complains about .la files with embedded paths. This is resolved by the install process. |
| 111 | |