diff --git a/recipes/dev/luarocks/recipe.toml b/recipes/dev/luarocks/recipe.toml index 799913a7..991d11d6 100644 --- a/recipes/dev/luarocks/recipe.toml +++ b/recipes/dev/luarocks/recipe.toml @@ -7,9 +7,10 @@ dependencies = [ "lua54" ] script = """ - +DYNAMIC_INIT COOKBOOK_CONFIGURE_FLAGS=( - --sysconfdir=$COOKBOOK_SYSROOT + --prefix=/usr + --sysconfdir=/etc --with-lua-include=$COOKBOOK_SYSROOT/include --with-lua-bin=$COOKBOOK_SYSROOT/bin --with-lua-lib=$COOKBOOK_SYSROOT/lib diff --git a/recipes/dev/rustpython/recipe.toml b/recipes/dev/rustpython/recipe.toml index bbed445a..e0085c89 100644 --- a/recipes/dev/rustpython/recipe.toml +++ b/recipes/dev/rustpython/recipe.toml @@ -16,15 +16,15 @@ template = "custom" script = """ DYNAMIC_INIT -export BUILDTIME_RUSTPYTHONPATH=/lib/rustpython +export BUILDTIME_RUSTPYTHONPATH=/usr/lib/rustpython export OPENSSL_DIR="${COOKBOOK_SYSROOT}" export ZLIB_STATIC=1 cookbook_cargo --features ssl -mkdir -p "${COOKBOOK_STAGE}/lib" +mkdir -p "${COOKBOOK_STAGE}/usr/lib" rsync -aE \ --exclude 'test/' \ --exclude '__pycache__/' \ --exclude '*.pyc' \ --exclude '/README.md' \ - "${COOKBOOK_SOURCE}"/Lib/ "${COOKBOOK_STAGE}/lib/rustpython" + "${COOKBOOK_SOURCE}"/Lib/ "${COOKBOOK_STAGE}/usr/lib/rustpython" """ diff --git a/recipes/games/openjk/recipe.toml b/recipes/games/openjk/recipe.toml index b1c8322e..04bc3075 100644 --- a/recipes/games/openjk/recipe.toml +++ b/recipes/games/openjk/recipe.toml @@ -14,36 +14,8 @@ dependencies = [ ] script = """ DYNAMIC_INIT - -export CFLAGS="${CFLAGS} -I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2" -export CXXFLAGS="${CXXFLAGS} -I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2" -cat > redox.cmake <