Skip to content
This repository has been archived by the owner on Aug 8, 2022. It is now read-only.

chef-base-plans/expat

Repository files navigation

Build Status

expat

Expat is a stream-oriented XML parser library written in C. Expat excels with files too large to fit RAM, and where performance and flexibility are crucial. See documentation

Maintainers

Type of Package

Binary package

Use as Dependency

Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.

To add core/expat as a dependency, you can add one of the following to your plan file.

Buildtime Dependency

pkg_build_deps=(core/expat)

Runtime dependency

pkg_deps=(core/expat)

Use as Tool

Installation

To install this plan, you should run the following commands to first install, and then link the binaries this plan creates.

hab pkg install core/expat --binlink

will add the following binary to the PATH:

  • /bin/xmlwf

Using an example binary

You can now use the binary as normal. For example:

/bin/xmlwf --help or xmlwf --help

$ xmlwf -help
usage: xmlwf [-s] [-n] [-p] [-x] [-e encoding] [-w] [-d output-dir] [-c] [-m] [-r] [-t] [-N] [file ...]