diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-10-20 12:21:31 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-10-20 12:21:31 +0000 |
commit | d22fcaf440cf01b5a7afe72b62d130b6819f432a (patch) | |
tree | f0e1a962f030fbf980e2a2038995b69f6c6f32fb /434.perl.vars | |
parent | 79884d6d4b6de866f6b64082fa22e7b45f618881 (diff) | |
download | midipix_build-d22fcaf440cf01b5a7afe72b62d130b6819f432a.tar.bz2 midipix_build-d22fcaf440cf01b5a7afe72b62d130b6819f432a.tar.xz |
Adds weechat v1.6 (via Redfoxmoon.)
Diffstat (limited to '434.perl.vars')
-rw-r--r-- | 434.perl.vars | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/434.perl.vars b/434.perl.vars new file mode 100644 index 00000000..853bef90 --- /dev/null +++ b/434.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 |