diff options
| author | 0x221E <0x221E@0xinfinity.dev> | 2026-06-02 15:36:20 +0200 |
|---|---|---|
| committer | 0x221E <0x221E@0xinfinity.dev> | 2026-06-02 15:38:37 +0200 |
| commit | 51179eb02f2b2c4cf1c4ae31eee0a57dcbc78c03 (patch) | |
| tree | 7c86b41f63cad2038d298ec4d7188f16dd8f5fe3 /templates/perl | |
| download | bootstrap-master.tar.gz | |
Diffstat (limited to 'templates/perl')
| -rw-r--r-- | templates/perl/template | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/perl/template b/templates/perl/template new file mode 100644 index 0000000..f73a88f --- /dev/null +++ b/templates/perl/template @@ -0,0 +1,24 @@ +pkgname=perl +version=5.42.0 +upstream="https://www.cpan.org/src/5.0/${pkgname}-${version}.tar.xz" + +function do_configure { + sh Configure -des \ + -D prefix=/usr \ + -D vendorprefix=/usr \ + -D useshrplib \ + -D privlib=/usr/lib/perl5/5.42/core_perl \ + -D archlib=/usr/lib/perl5/5.42/core_perl \ + -D sitelib=/usr/lib/perl5/5.42/site_perl \ + -D sitearch=/usr/lib/perl5/5.42/site_perl \ + -D vendorlib=/usr/lib/perl5/5.42/vendor_perl \ + -D vendorarch=/usr/lib/perl5/5.42/vendor_perl +} + +function do_build { + make -j$(nproc) +} + +function do_install { + make DESTDIR="${MASTERDIR}" install +} |
