diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-04 01:52:11 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-04 01:52:11 +0000 |
commit | 4cffb9399cb6b9acf64929a07e9e2c9f1b97c929 (patch) | |
tree | 133a9fd7babfa40e9b08d4131c203d3c41e0dd7c | |
parent | e58ccbe777d89416b0590088d6a85cf2d90fc9d6 (diff) | |
download | midipix_build-4cffb9399cb6b9acf64929a07e9e2c9f1b97c929.tar.bz2 midipix_build-4cffb9399cb6b9acf64929a07e9e2c9f1b97c929.tar.xz |
vars/build.vars: adds dist_minipix_libs.
vars/dist_minipix_libs.vars: copy lib{c,ncursesw,psxscl,u16ports}.so into ${PREFIX_MINIPIX}/lib.
-rw-r--r-- | vars/build.vars | 2 | ||||
-rw-r--r-- | vars/dist_minipix_libs.vars | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars index b4ca64ce..b54a6c67 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -1079,7 +1079,7 @@ DIST_MINIPIX_PREFIX="${PREFIX_MINIPIX}"; # Build target dist_target # DIST_TARGET_NO_LOG_VARS=1; -DIST_TARGET_PACKAGES="dist_etc dist_digest dist_tarballs"; +DIST_TARGET_PACKAGES="dist_minipix_libs dist_etc dist_digest dist_tarballs"; # # Build targets diff --git a/vars/dist_minipix_libs.vars b/vars/dist_minipix_libs.vars new file mode 100644 index 00000000..37ac6454 --- /dev/null +++ b/vars/dist_minipix_libs.vars @@ -0,0 +1,13 @@ +# +# set -o errexit -o noglob are assumed. +# + +pkg_dist_minipix_libs_all() { + local _libname; + for _libname in libc libncursesw libpsxscl libu16ports; do + ex_rtl_fileop cp \ + "${PREFIX_NATIVE}/lib/${_libname}.so" "${PREFIX_MINIPIX}/lib"; + done; +}; + +# vim:filetype=sh |