Blame dist/dist_minipix.dist

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
														\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libcrypto.so.46=%[_minipix]/bin/libcrypto.so.46						\
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 bf7f34
	+%[_native]/lib/libhogweed.so.6=%[_minipix]/bin/libhogweed.so.6						\
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 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					\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libssl.so.48=%[_minipix]/bin/libssl.so.48						\
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=%[_minipix]/bin/libtinfo.so		        				\
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					\
Lucio Andrés Illanes Albornoz bf7f34
	+%[_native]/lib/libunistring.so.2=%[_minipix]/bin/libunistring.so.2					\
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() {
Lucio Andrés Illanes Albornoz bf7f34
	local _vflag="";
Lucio Andrés Illanes Albornoz bf7f34
Lucio Andrés Illanes Albornoz bf7f34
	[ "${ARG_VERBOSE:-0}" -ge 3 ] && _vflag="-v";
Lucio Andrés Illanes Albornoz bf7f34
	if rtl_lmatch "${ARG_DIST}" "minipix" ","								\
Lucio Andrés Illanes Albornoz bf7f34
	&& ! rtl_install_v2											\
Lucio Andrés Illanes Albornoz bf7f34
			-p "_builddir=${PKG_BASE_DIR}/${PKG_BUILD_DIR}"						\
Lucio Andrés Illanes Albornoz bf7f34
			-p "_minipix=${PREFIX_MINIPIX##*/}"							\
Lucio Andrés Illanes Albornoz bf7f34
			-p "_minipix_dist=${PREFIX}/minipix_dist"						\
Lucio Andrés Illanes Albornoz bf7f34
			-p "_native=${PREFIX_NATIVE##*/}"							\
Lucio Andrés Illanes Albornoz bf7f34
			-p "_subdir=${PKG_BASE_DIR}/${PKG_SUBDIR}"						\
Lucio Andrés Illanes Albornoz bf7f34
			-p "_target=${PKG_TARGET}"								\
Lucio Andrés Illanes Albornoz bf7f34
			${_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;
Lucio Andrés Illanes Albornoz 0eaee4
};
Lucio Andrés Illanes Albornoz 0eaee4
Lucio Andrés Illanes Albornoz 0eaee4
# vim:filetype=sh