Dpkg::Arch (3)
Leading comments
Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) Standard preamble: ========================================================================
NAME
Dpkg::Arch - handle architecturesDESCRIPTION
The Dpkg::Arch module provides functions to handle Debian architectures, wildcards, and mapping from and toGNU
triplets.
FUNCTIONS
- $arch = get_raw_build_arch()
- Get the raw build Debian architecture, without taking into account variables from the environment.
- $arch = get_build_arch()
-
Get the build Debian architecture, using DEB_BUILD_ARCHfrom the environment if available.
- $arch = get_raw_host_arch()
- Get the raw host Debian architecture, without taking into account variables from the environment.
- $arch = get_host_arch()
-
Get the host Debian architecture, using DEB_HOST_ARCHfrom the environment if available.
- @arch_list = get_valid_arches()
- Get an array with all currently known Debian architectures.
- $multiarch = gnutriplet_to_multiarch($gnutriplet)
-
Map a GNUtriplet into a Debian multiarch triplet.
- $multiarch = debarch_to_multiarch($arch)
- Map a Debian architecture into a Debian multiarch triplet.
- $gnutriplet = debarch_to_gnutriplet($arch)
-
Map a Debian architecture into a GNUtriplet.
- $arch = gnutriplet_to_debarch($gnutriplet)
-
Map a GNUtriplet into a Debian architecture.
- $bool = debarch_eq($arch_a, $arch_b)
- Evaluate the equality of a Debian architecture, by comparing with another Debian architecture. No wildcard matching is performed.
- $bool = debarch_is($arch, $arch_wildcard)
- Evaluate the identity of a Debian architecture, by matchings with an architecture wildcard.
- $bool = debarch_is_wildcard($arch)
- Evaluate whether a Debian architecture is an architecture wildcard.
- $bool = debarch_is_concerned($arch, @arches)
- Evaluate whether a Debian architecture applies to the list of architecture restrictions, as usually found in dependencies inside square brackets.