Home

Awesome

Build Status

libpng

libpng is a PNG reference library. It supports almost all PNG features and is extensible. See documentation

Maintainers

Type of Package

Library package

Use as Dependency

Library packages can be set as runtime or build time dependencies, however they are typically used as buildtime dependencies. See Defining your dependencies for more information.

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

Buildtime Dependency

pkg_build_deps=(core/libpng)

Runtime Dependency

pkg_deps=(core/libpng)

Use as a Library

Installation

To install this plan, run the following command:

hab pkg install core/libpng

hab pkg install core/libpng
» Installing core/libpng
☁ Determining latest version of core/libpng in the 'stable' channel
→ Found newer installed version (core/libpng/1.6.37/20200629164559) than remote version (core/libpng/1.6.37/20200310022515)
→ Using core/libpng/1.6.37/20200629164559
★ Install of core/libpng/1.6.37/20200629164559 complete with 0 new packages installed.

Viewing library files

To view the library files first get the habitat installation directory

hab pkg path core/libpng
/hab/pkgs/core/libpng/1.6.37/20200629164559

Then list the libraries, for example:

ls -1 $(hab pkg path core/libpng)
include
lib
share
...
...