diff options
Diffstat (limited to 'repos/extra/perl/abuild')
| -rw-r--r-- | repos/extra/perl/abuild | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/repos/extra/perl/abuild b/repos/extra/perl/abuild new file mode 100644 index 00000000..eb8970ab --- /dev/null +++ b/repos/extra/perl/abuild @@ -0,0 +1,21 @@ +name=perl +version=5.40.1 +release=1 +source="https://www.cpan.org/src/5.0/perl-$version.tar.xz" + +build() { + BUILD_ZLIB=False \ + BUILD_BZIP2=0 \ + sh Configure -des -Dprefix=/usr \ + -Dvendorprefix=/usr \ + -Dprivlib=/usr/lib/perl5/${version%.*} \ + -Dsitelib=/usr/lib/perl5/site_perl/${version%.*} \ + -Dvendorlib=/usr/lib/perl5/site_perl/${version%.*} \ + -Dman1dir=/usr/share/man/man1 \ + -Dman3dir=/usr/share/man/man3 \ + -Dpager="/usr/bin/less -isR" \ + -Duseshrplib \ + -Dusethreads + make + make DESTDIR=$PKG install +} |