Lucio Andrés Illanes Albornoz 0eaee4
#
Lucio Andrés Illanes Albornoz e1d469
# set +o errexit -o noglob -o nounset is assumed.
Lucio Andrés Illanes Albornoz 0eaee4
#
Lucio Andrés Illanes Albornoz 0eaee4
Lucio Andrés Illanes Albornoz bf7f34
: ${PKG_DIST_MINIPIX_INSTALL_FILES_V2:="									\
Lucio Andrés Illanes Albornoz bf7f34
	/=%[_minipix]/bin											\
Lucio Andrés Illanes Albornoz bf7f34
	/=%[_minipix]/etc											\
Lucio Andrés Illanes Albornoz bf7f34
	/=%[_minipix]/etc/ssl/certs										\
Lucio Andrés Illanes Albornoz bf7f34
	/=%[_minipix]/lib											\
Lucio Andrés Illanes Albornoz bf7f34
	/=%[_minipix]/share											\
Lucio Andrés Illanes Albornoz bf7f34
	/=%[_minipix]/share/terminfo										\
Lucio Andrés Illanes Albornoz bf7f34
														\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/bin/clear=%[_minipix]/bin/clear								\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/bin/reset=%[_minipix]/bin/reset								\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/bin/tset=%[_minipix]/bin/tset								\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_minipix_dist]/bin/%<*>=%[_minipix]/bin/%[FNAME]							\
Lucio Andrés Illanes Albornoz bf7f34
														\
923ff0
	+%[_native]/lib/libassuan.so.0=%[_minipix]/bin/libassuan.so.0						\
Lucio Andrés Illanes Albornoz 5d6f16
	+%[_native]/lib/libbz2.so.1=%[_minipix]/bin/libbz2.so.1							\
00709b
	+%[_native]/lib/libcrypto.so.50=%[_minipix]/bin/libcrypto.so.50						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libc.so=%[_minipix]/bin/libc.so		                				\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libcurl.so.4=%[_minipix]/bin/libcurl.so.4						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libexpat.so.1=%[_minipix]/bin/libexpat.so.1						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libgmp.so.10=%[_minipix]/bin/libgmp.so.10						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libgnutls.so.30=%[_minipix]/bin/libgnutls.so.30						\
Lucio Andrés Illanes Albornoz 5d6f16
	+%[_native]/lib/libgpgme.so.11=%[_minipix]/bin/libgpgme.so.11						\
923ff0
	+%[_native]/lib/libgpg-error.so.0=%[_minipix]/bin/libgpg-error.so.0					\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libhogweed.so.6=%[_minipix]/bin/libhogweed.so.6						\
9c9acc
	+%[_native]/lib/libiconv.so.2=%[_minipix]/bin/libiconv.so.2						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libidn2.so.0=%[_minipix]/bin/libidn2.so.0						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/liblzma.so.5=%[_minipix]/bin/liblzma.so.5						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libmagic.so.1=%[_minipix]/bin/libmagic.so.1						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libmetalink.so.3=%[_minipix]/bin/libmetalink.so.3					\
Lucio Andrés Illanes Albornoz 5d6f16
	+%[_native]/lib/libmpfr.so.4=%[_minipix]/bin/libmpfr.so.4						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libncurses.so.6=%[_minipix]/bin/libncurses.so.6						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libncursesw.so.6=%[_minipix]/bin/libncursesw.so.6					\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libnettle.so.8=%[_minipix]/bin/libnettle.so.8						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libpcre2-8.so.0=%[_minipix]/bin/libpcre2-8.so.0						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libpcre.so.1=%[_minipix]/bin/libpcre.so.1						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libperk.so.0=%[_minipix]/bin/libperk.so.0						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libpsl.so.5=%[_minipix]/bin/libpsl.so.5	        					\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libpsxscl.so=%[_minipix]/bin/libpsxscl.so						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libpython2.7.so.1=%[_minipix]/bin/libpython2.7.so.1					\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libreadline.so.8=%[_minipix]/bin/libreadline.so.8					\
495cf3
	+%[_native]/lib/libssl.so.53=%[_minipix]/bin/libssl.so.53						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libtasn1.so.6=%[_minipix]/bin/libtasn1.so.6						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libtinfo.so.6=%[_minipix]/bin/libtinfo.so.6						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libtinfow.so.6=%[_minipix]/bin/libtinfow.so.6						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libu16ports.so.0=%[_minipix]/bin/libu16ports.so.0					\
454956
	+%[_native]/lib/libunistring.so.5=%[_minipix]/bin/libunistring.so.5					\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libuuid.so.1=%[_minipix]/bin/libuuid.so.1						\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libz.so.1=%[_minipix]/bin/libz.so.1		        				\
Lucio Andrés Illanes Albornoz bf7f34
														\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_minipix_dist]/lib/python2.7/=%[_minipix]/lib/python2.7/						\
Lucio Andrés Illanes Albornoz bf7f34
														\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_minipix_dist]/etc/ca-certificates.conf=%[_minipix]/etc/ca-certificates.conf				\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_minipix_dist]/etc/ssl/certs/ca-certificates.crt=%[_minipix]/etc/ssl/certs/ca-certificates.crt	\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_minipix_dist]/share/ca-certificates/=%[_minipix]/share/ca-certificates/				\
Lucio Andrés Illanes Albornoz bf7f34
														\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_minipix_dist]/share/nano/=%[_minipix]/share/nano/							\
Lucio Andrés Illanes Albornoz bf7f34
	@nano/nanorc.nanorc=%[_minipix]/share/nanorc								\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_minipix_dist]/share/vim/=%[_minipix]/share/vim/							\
Lucio Andrés Illanes Albornoz bf7f34
	@vim/vim74/vimrc_example.vim=%[_minipix]/share/vimrc							\
Lucio Andrés Illanes Albornoz bf7f34
														\
Lucio Andrés Illanes Albornoz bf7f34
	/=%[_minipix]/share/terminfo										\
Lucio Andrés Illanes Albornoz bf7f34
	/=%[_minipix]/share/terminfo/p										\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/share/terminfo/p/putty=%[_minipix]/share/terminfo/p/putty					\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/share/terminfo/p/putty-256color=%[_minipix]/share/terminfo/p/putty-256color			\
Lucio Andrés Illanes Albornoz bf7f34
	/=%[_minipix]/share/terminfo/s										\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/share/terminfo/s/screen=%[_minipix]/share/terminfo/s/screen					\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/share/terminfo/s/screen-256color=%[_minipix]/share/terminfo/s/screen-256color		\
Lucio Andrés Illanes Albornoz bf7f34
	/=%[_minipix]/share/terminfo/x										\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/share/terminfo/x/xterm=%[_minipix]/share/terminfo/x/xterm					\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/share/terminfo/x/xterm-256color=%[_minipix]/share/terminfo/x/xterm-256color			\
Lucio Andrés Illanes Albornoz bf7f34
"};
Lucio Andrés Illanes Albornoz bf7f34
Lucio Andrés Illanes Albornoz efeeb0
pkg_dist_minipix_all() {
e9fa07
	local	_pdma_group_name="${1}" _pdma_pkg_name="${2}" _pdma_restart_at="${3}"	\
e9fa07
		_pdma_status="" _pdma_vflag="";
Lucio Andrés Illanes Albornoz bf7f34
e9fa07
	if rtl_lmatch \$ARG_VERBOSE_TAGS "install" ","; then
e9fa07
		_pdma_vflag="-v";
Lucio Andrés Illanes Albornoz 30cdf7
	fi;
e9fa07
e9fa07
	if rtl_lmatch \$ARG_DIST "minipix" ","				\
e9fa07
	&& ! rtl_install_v2						\
e9fa07
			\$_pdma_status					\
e9fa07
			-p "_minipix=${PREFIX_MINIPIX##*/}"		\
e9fa07
			-p "_minipix_dist=${PREFIX}/minipix_dist"	\
e9fa07
			-p "_native=${PREFIX_NATIVE##*/}"		\
e9fa07
			${_pdma_vflag} -- "${PREFIX}"			\
Lucio Andrés Illanes Albornoz bf7f34
			"${PKG_INSTALL_FILES_V2}"; then
Lucio Andrés Illanes Albornoz bf7f34
		return 1;
Lucio Andrés Illanes Albornoz 0eaee4
	fi;
e9fa07
e9fa07
	return 0;
Lucio Andrés Illanes Albornoz 0eaee4
};
Lucio Andrés Illanes Albornoz 0eaee4
Lucio Andrés Illanes Albornoz 0eaee4
# vim:filetype=sh