# Template file for 'quickjs' pkgname=quickjs version=2023.12.09 revision=1 build_style=gnu-makefile make_use_env=true make_build_args="CONFIG_LTO=" short_desc="Small and embeddable Javascript engine" maintainer="Leah Neukirchen " license="MIT" homepage="https://bellard.org/quickjs/" distfiles="https://bellard.org/quickjs/quickjs-${version//./-}.tar.xz" checksum=e8afe386f875d0e52310ea91aa48e2b0e04182e821f19147794e3e272f4c8d8c if [ "$CROSS_BUILD" ]; then make_build_args+=" CROSS_PREFIX=${XBPS_CROSS_TRIPLET}-" fi make_install_args="${make_build_args}" pre_configure() { vsed -i -e 's|%s/lib/quickjs|%s/lib|' qjsc.c cat >>Makefile <