summaryrefslogtreecommitdiffhomepage
path: root/vars/libcaca.vars
blob: b9d77ac4049b36fa629240f8c8c09481f10d2414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# set -o errexit -o noglob are assumed.
#

pkg_libcaca_configure_pre() {
	find "${WORKDIR}/${PKG_SUBDIR}" -name config.sub				\
		-exec echo mv -- {} {}.orig \;						\
		-exec mv -- {} {}.orig \;						\
		-exec echo install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;	\
		-exec install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;;
};

pkg_toilet_configure_pre() {
	find "${WORKDIR}/${PKG_SUBDIR}" -name config.sub				\
		-exec echo mv -- {} {}.orig \;						\
		-exec mv -- {} {}.orig \;						\
		-exec echo install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;	\
		-exec install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;;
};

# vim:filetype=sh