-
-
06 Dec 2021 20:23:10 UTC
- Distribution: Dpkg
- Module version: 1.00
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository (git clone)
- Issues
- Testers (34 / 0 / 39)
- Kwalitee
Bus factor: 1- License: gpl_2
- Perl: v5.28.1
- Activity
24 month- Tools
- Download (522.16KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- none
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Dpkg::BuildProfiles - handle build profiles
DESCRIPTION
The Dpkg::BuildProfiles module provides functions to handle the build profiles.
FUNCTIONS
- @profiles = get_build_profiles()
-
Get an array with the currently active build profiles, taken from the environment variable DEB_BUILD_PROFILES.
- set_build_profiles(@profiles)
-
Set
@profiles
as the current active build profiles, by setting the environment variable DEB_BUILD_PROFILES. - @profiles = parse_build_profiles($string)
-
Parses a build profiles specification, into an array of array references.
- evaluate_restriction_formula(\@formula, \@profiles)
-
Evaluate whether a restriction formula of the form "<foo bar> <baz>", given as a nested array, is true or false, given the array of enabled build profiles.
CHANGES
Version 1.00 (dpkg 1.17.17)
Mark the module as public.
Module Install Instructions
To install Dpkg, copy and paste the appropriate command in to your terminal.
cpanm Dpkg
perl -MCPAN -e shell install Dpkg
For more information on module installation, please visit the detailed CPAN module installation guide.