From 03423e0583057cbe5a16f8439183e2dbc0e8dd7c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 9 Dec 2019 19:17:24 +0300 Subject: secondary commit --- core/perl/build | 43 +++++++++++++++++++++++++++++++++++++++++++ core/perl/checksums | 1 + core/perl/depends | 2 ++ core/perl/sources | 1 + core/perl/version | 1 + 5 files changed, 48 insertions(+) create mode 100755 core/perl/build create mode 100644 core/perl/checksums create mode 100644 core/perl/depends create mode 100644 core/perl/sources create mode 100644 core/perl/version (limited to 'core/perl') diff --git a/core/perl/build b/core/perl/build new file mode 100755 index 00000000..a81dc976 --- /dev/null +++ b/core/perl/build @@ -0,0 +1,43 @@ +#!/bin/sh -e + +export BUILD_ZLIB=0 +export BUILD_BZIP2=0 +export LDFLAGS="$LDFLAGS -pthread" +export CFLAGS="$CFLAGS -DNO_POSIX_2008_LOCALE -D_GNU_SOURCE" + +./Configure \ + -des \ + -Dprefix=/usr \ + -Dvendorprefix=/usr \ + -Dusevendorprefix \ + -Duseshrplib \ + -Dusesoname \ + -Dusethreads \ + -Dinc_version_list=none \ + -Dd_sockaddr_in6=define \ + -Dcccdlflags=-fPIC \ + -Dccflags="$CFLAGS" \ + -Dlddlflags="-shared $LDFLAGS" \ + -Dldflags="$LDFLAGS" \ + -Doptimize="-Wall $CFLAGS" \ + -Dcc="${CC:-gcc}" \ + -Dar="${AR:-ar}" \ + -Dnm="${NM:-nm}" \ + -Dranlib="${RANLIB:-ranlib}" \ + -Dperl_static_inline="static __inline__" \ + -Dd_static_inline + +make +make DESTDIR="$1" install + +# Remove all unneeded files. +find "$1" -name \*.pod -delete +find "$1" -name .packlist -delete +find "$1" -name README\* -delete +find "$1" -name TODO\* -delete +find "$1" -name Change\* -delete +find "$1" -name \*.bs -delete +find "$1" -name \*.0 -type f -delete + +# Fix permissions. +find "$1/usr/lib" -type f -exec chmod 644 {} \; diff --git a/core/perl/checksums b/core/perl/checksums new file mode 100644 index 00000000..acdd60ac --- /dev/null +++ b/core/perl/checksums @@ -0,0 +1 @@ +41f299900436a32e10c4804a9210dfc994209e143287fc97339b6bf086315692 v5.30.1.tar.gz diff --git a/core/perl/depends b/core/perl/depends new file mode 100644 index 00000000..4565337a --- /dev/null +++ b/core/perl/depends @@ -0,0 +1,2 @@ +bzip2 +zlib diff --git a/core/perl/sources b/core/perl/sources new file mode 100644 index 00000000..29d148ed --- /dev/null +++ b/core/perl/sources @@ -0,0 +1 @@ +https://github.com/Perl/perl5/archive/v5.30.1.tar.gz diff --git a/core/perl/version b/core/perl/version new file mode 100644 index 00000000..fd591563 --- /dev/null +++ b/core/perl/version @@ -0,0 +1 @@ +5.30.1 1 -- cgit v1.2.3