diff options
author | Cem Keylan <cem@ckyln.com> | 2020-04-11 20:34:06 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-04-11 20:34:06 +0300 |
commit | e920ee8c670315b1adf783ee811232c2e511cf78 (patch) | |
tree | 15be653e3460aadc735279a6f947d2719e718a94 /core/perl/build | |
parent | b0cee9a1d74a927d81582d317ddc14de9ffe3081 (diff) | |
download | repository-e920ee8c670315b1adf783ee811232c2e511cf78.tar.gz |
perl: move to extra
Diffstat (limited to 'core/perl/build')
-rwxr-xr-x | core/perl/build | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/core/perl/build b/core/perl/build deleted file mode 100755 index a81dc976..00000000 --- a/core/perl/build +++ /dev/null @@ -1,43 +0,0 @@ -#!/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 {} \; |