diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-11-12 15:16:45 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-11-12 15:16:45 +0100 |
commit | 1dc645596162525f8e244dc30824b19b5a73f12e (patch) | |
tree | 01f54dbd7b70ff93fd202c6aced8bc2fc5c42e48 /435.perl.vars | |
parent | 3351d02ecf44e9f7c873ce31d6ce8651f1d7b3c7 (diff) | |
download | midipix_build-1dc645596162525f8e244dc30824b19b5a73f12e.tar.bz2 midipix_build-1dc645596162525f8e244dc30824b19b5a73f12e.tar.xz |
Addss p7zip (HEAD) (via Redfoxmoon.)
Diffstat (limited to '435.perl.vars')
-rw-r--r-- | 435.perl.vars | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/435.perl.vars b/435.perl.vars new file mode 100644 index 00000000..853bef90 --- /dev/null +++ b/435.perl.vars @@ -0,0 +1,24 @@ +# +# . ./build.vars and set -o errexit -o noglob are assumed. +# + +pkg_perl_extract_post() { + git clone https://github.com/lalbornoz/perl-cross; + for _ppep_fname_src in $(find perl-cross -type f \ + -not -path perl-cross/.git/\* -not -name .gitignore); do + _ppep_fname_dst=perl-${PKG_VERSION}${_ppep_fname_src#perl-cross}; + if [ -f ${_ppep_fname_dst} ]; then + mv -- ${_ppep_fname_dst} ${_ppep_fname_dst}.orig; + fi; + if [ ! -d "$(dirname ${_ppep_fname_dst})" ]; then + mkdir -p -- $(dirname ${_ppep_fname_dst}); + fi; + cp -- ${_ppep_fname_src} ${_ppep_fname_dst}; + done; + for _ppep_cflag in ${PKG_CFLAGS_CONFIGURE}; do + PKG_CONFIGURE_ARGS="${PKG_CONFIGURE_ARGS:+${PKG_CONFIGURE_ARGS} }-A ccflags=${_ppep_cflag}"; + done; + unset _ppep_fname_src _ppep_fname_dst _ppep_cflag; +}; + +# vim:filetype=sh |