From beb0e949f6189884cd31fdf0f95e5d35be6a2a93 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 6 Oct 2021 20:32:41 +0100 Subject: added more core packages --- repo/core/perl.xibuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 repo/core/perl.xibuild (limited to 'repo/core/perl.xibuild') diff --git a/repo/core/perl.xibuild b/repo/core/perl.xibuild new file mode 100644 index 0000000..d52ada9 --- /dev/null +++ b/repo/core/perl.xibuild @@ -0,0 +1,31 @@ +#!/bin/bash + +DEPS=(gdbm glibc libxcrypt) + +SOURCE=https://www.cpan.org/src/5.0/perl-5.34.0.tar.gz +DESC="The Practical Extraction and Report Language" + +build () { + export BUILD_ZLIB=False + export BUILD_BZIP2=0 + + sh Configure -des \ + -Dprefix=/usr \ + -Dvendorprefix=/usr \ + -Dprivlib=/usr/lib/perl5/5.34/core_perl \ + -Darchlib=/usr/lib/perl5/5.34/core_perl \ + -Dsitelib=/usr/lib/perl5/5.34/site_perl \ + -Dsitearch=/usr/lib/perl5/5.34/site_perl \ + -Dvendorlib=/usr/lib/perl5/5.34/vendor_perl \ + -Dvendorarch=/usr/lib/perl5/5.34/vendor_perl \ + -Dman1dir=/usr/share/man/man1 \ + -Dman3dir=/usr/share/man/man3 \ + -Dpager="/usr/bin/less -isR" \ + -Duseshrplib \ + -Dusethreads + + make + make test + make DESTDIR=$PKG_DEST install + unset BUILD_ZLIB BUILD_BZIP2 +} -- cgit v1.2.1