apotocki/perl 5.44.0 (r1, apple)
- Library
- perl
- Variant
- apple, target apple
- Channel
- stable
- Published
- 2026-11-07
- Recipe source
- https://github.com/otok-dev/recipes
32756a87cf5bd189ca4c9825159bf0713ea8cf5einrecipes/perl/5.44/apple/ - Recipe SHA-256
47c8b78778a18cc71362e8a6e97533dbbcd8b224758fd1e4908266605d8d775e
Recipe files changed
Inputs
| source.sha256 | 505cf43912e9480495c344c70260452e32aa2a73c546a026b3f100053b23ce91 |
|---|---|
| source.url | https://www.cpan.org/src/5.0/perl-5.44.0.tar.xz |
Platforms
macosx
Toolchains
make { default-recipe = "apotocki/make", version = ">= 3.81" }
Recipe files
build.lua
-- perl's own Configure, then make in the source tree, where Configure works.
function build(slice, options, deps)
local p = slice.prefix
local make = slice.toolchains.make
-- no questions (-des); @INC relative to the program, which runs from the cache, not from where it was built; no
-- manuals; none of the machine's database libraries
otok.run({ "sh", "Configure", "-des", "-Dprefix=" .. p, "-Duserelocatableinc", "-Dman1dir=none", "-Dman3dir=none",
"-Dcc=" .. slice.toolchain.cc, "-Dmake=" .. make, "-Ui_db", "-Ui_gdbm", "-Ui_ndbm", "-Ui_dbm" }, { cwd = slice.source })
otok.run({ make, "-j" .. slice.jobs }, { cwd = slice.source })
otok.run({ make, "install" }, { cwd = slice.source })
return { programs = { perl = p .. "/bin/perl" } }
end
recipe.toml
# The otok recipe of Perl (https://github.com/apotocki/otok): the perl interpreter for the builds of other recipes, which
# name it as their toolchain (`perl = { default-recipe = "apotocki/perl" }`), on macOS: built from the release archive
# with its Configure and make.
[recipe]
api = 1
library = "perl"
name = "perl"
version = "5.44.0"
revision = 1
license = "Artistic-1.0-Perl OR GPL-1.0-or-later"
license-files = ["Artistic", "Copying"]
homepage = "https://www.perl.org"
description = "Perl 5, built from source."
keywords = ["perl", "interpreter", "tool"]
[tool]
programs = ["perl"]
[source]
url = "https://www.cpan.org/src/5.0/perl-5.44.0.tar.xz"
sha256 = "505cf43912e9480495c344c70260452e32aa2a73c546a026b3f100053b23ce91"
[platforms]
supported = ["macosx"]
build-on = ["macos/xcode"]
[toolchains]
make = { version = ">= 3.81", default-recipe = "apotocki/make" }