193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
  | 
		./bootstrap.sh --prefix="${instdir}" --with-python=false --without-libraries='atomic,chrono,container,context,coroutine,date_time,exception,filesystem,graph,graph_parallel,iostreams,locale,log,math,mpi,program_options,python,random,regex,serialization,signals,system,test,thread,timer,wave' || exit 1
		echo "using gcc : pnacl : ${CXX} ;" >> project-config.jam
		./b2 --debug-configuration toolset=gcc-pnacl target-os=linux link=static runtime-link=static || exit 1
		./bjam install || exit 1
	) || return 1
	rm -rf "${workdir}"
	return 0
}
 | 
|
>
>
  | 
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
  | 
		./bootstrap.sh --prefix="${instdir}" --with-python=false --without-libraries='atomic,chrono,container,context,coroutine,date_time,exception,filesystem,graph,graph_parallel,iostreams,locale,log,math,mpi,program_options,python,random,regex,serialization,signals,system,test,thread,timer,wave' || exit 1
		echo "using gcc : pnacl : ${CXX} ;" >> project-config.jam
		./b2 --debug-configuration toolset=gcc-pnacl target-os=linux link=static runtime-link=static || exit 1
		./bjam install | grep -v '^common.copy '
		exit 0
	) || return 1
	rm -rf "${workdir}"
	return 0
}
 | 
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
  | 
	buildPCSC || return 1
	(
		cd ../.. || exit 1
		make distclean
		./configure --host=nacl --with-pcsc-libs="-lpcsc" cackey_cv_pcsc_works=okay || exit 1
		make || exit 1
	) || return 1
	mkdir -p "${instdir}/lib"
	cp ../../libcackey.a ../../libcackey_g.a "${instdir}/lib" || return 1
	return 0
  | 
|
  | 
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
  | 
	buildPCSC || return 1
	(
		cd ../.. || exit 1
		make distclean
		./configure --host=nacl --with-pcsc-headers="${instdir}/include/PCSC" --with-pcsc-libs="-lpcsc" cackey_cv_pcsc_works=okay || exit 1
		make || exit 1
	) || return 1
	mkdir -p "${instdir}/lib"
	cp ../../libcackey.a ../../libcackey_g.a "${instdir}/lib" || return 1
	return 0
 |