Skip to content

Latest commit

 

History

History
89 lines (52 loc) · 2.45 KB

dpkg.md

File metadata and controls

89 lines (52 loc) · 2.45 KB

XModule Reference: dpkg / checkinstall

Create .deb packages from xmodule repositories with checkinstall

Main target rules

  • xdpkg
    Construct a package file from one or more xmodule repository sources.

Features

Checkinstall

See checkinstall manpage for details on these features:

  • <xdpkg-name> name

  • <xdpkg-version> version

  • <xdpkg-description> description
    Can have newlines

  • <xdpkg-release> release

  • <xdpkg-arch> arch

  • <xdpkg-maintainer> maintainer

  • <xdpkg-license> license

  • <xdpkg-group> group

  • <xdpkg-provides> provides

  • <xdpkg-requires> dependency
    Multiple dependencies will be joined with , and ()<> characters will be escaped automatically.
    See http://stackoverflow.com/questions/18365600/how-to-manage-multiple-package-dependencies-with-checkinstall for syntax.

  • <xdpkg-strip> yes | no
    Default: yes

  • <xdpkg-stripso> yes | no
    Default: yes

The following two filtering features are like the checkinstall named arguments, but are implemented differently.
Instead, these patterns are path GLOB patterns as documented in find utility

  • <xdpkg-exclude> exclude-pattern

  • <xdpkg-include> exclude-pattern

This feature is not from checkinstall.

  • <xdpkg-sysroot> path
    System root path.
    Default: /

XModule

  • <xworkspace> and related features
    By default, the workspace for an XDPKG target is variant.
    It has no implicit <xinvariant> property.

Commandline Arguments

  • --xdpkg-target-path=PATH
    Path is relative to the CWD and indicates where to put the generated package.
    By default this is the normal build-dir location generated for targets.

  • --xdpkg-FEATURE=VALUE
    Where FEATURE is a lowercase string matching any of the <xdpkg-FEATURE> from above.
    When specified, such commandline property will override any properties of the same feature for all XDPKG targets generated.
    This is useful for package generation builds that build just one target.

Notes

Logs

  • workspace/log/name-checkinstall.log

Boost.Build Type Reference

Type Base Type Infer from source Generate from
XDPKG *.deb XDIST, XBUILD, XREPO