mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 12:24:17 +08:00
Add neovim deps
This commit is contained in:
parent
61a9872dec
commit
2e3c52d69a
14
recipes/wip/libs/lua/lpeg/recipe.toml
Normal file
14
recipes/wip/libs/lua/lpeg/recipe.toml
Normal file
@ -0,0 +1,14 @@
|
||||
[source]
|
||||
tar = "https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"lua54",
|
||||
]
|
||||
script = """
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
make linux
|
||||
mkdir -p ${COOKBOOK_STAGE}/usr/lib
|
||||
cp *.so ${COOKBOOK_STAGE}/usr/lib
|
||||
"""
|
||||
@ -1,5 +1,15 @@
|
||||
#TODO missing script for building, see https://github.com/leonerd/libtickit
|
||||
[source]
|
||||
tar = "https://www.leonerd.org.uk/code/libtickit/libtickit-0.4.3.tar.gz"
|
||||
tar = "https://www.leonerd.org.uk/code/libtickit/libtickit-0.4.5.tar.gz"
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"ncursesw"
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
|
||||
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
|
||||
"${COOKBOOK_MAKE}" install-inc install-lib DESTDIR="${COOKBOOK_STAGE}"
|
||||
"""
|
||||
|
||||
@ -2,4 +2,12 @@
|
||||
[source]
|
||||
tar = "https://launchpad.net/libvterm/trunk/v0.3/+download/libvterm-0.3.3.tar.gz"
|
||||
[build]
|
||||
template = "configure"
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
|
||||
${COOKBOOK_MAKE} -j ${COOKBOOK_MAKE_JOBS} install \
|
||||
PREFIX="${COOKBOOK_STAGE}"
|
||||
"""
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
#TODO non-sense "permission denied" error
|
||||
#TODO need testing
|
||||
[source]
|
||||
tar = "https://ftp.gnu.org/gnu/termcap/termcap-1.3.1.tar.gz"
|
||||
[build]
|
||||
template = "configure"
|
||||
template = "custom"
|
||||
script = """
|
||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
--prefix="${COOKBOOK_STAGE}/usr"
|
||||
)
|
||||
cookbook_configure
|
||||
"""
|
||||
|
||||
9
recipes/wip/libs/other/tree-sitter/recipe.toml
Normal file
9
recipes/wip/libs/other/tree-sitter/recipe.toml
Normal file
@ -0,0 +1,9 @@
|
||||
[source]
|
||||
tar = "https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.25.8.tar.gz"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
PACKAGE_PATH=cli cookbook_cargo
|
||||
"""
|
||||
@ -1,29 +1,13 @@
|
||||
#TODO probably wrong script, see https://github.com/neovim/neovim/wiki/Installing-Neovim#install-from-source
|
||||
[source]
|
||||
git = "https://github.com/neovim/neovim"
|
||||
rev = "d772f697a281ce9c58bf933997b87c7f27428a60"
|
||||
tar = "https://github.com/neovim/neovim/archive/refs/tags/v0.11.3.tar.gz"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"luajit",
|
||||
"gettext",
|
||||
"less",
|
||||
"lua54",
|
||||
"libiconv",
|
||||
"libuv",
|
||||
"libvterm",
|
||||
"libtickit",
|
||||
"luv",
|
||||
"lpeg",
|
||||
]
|
||||
script = """
|
||||
COOKBOOK_CONFIGURE="cmake"
|
||||
COOKBOOK_CONFIGURE_FLAGS=(
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_CROSSCOMPILING=True
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-static"
|
||||
-DCMAKE_INSTALL_PREFIX="/"
|
||||
-DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
|
||||
-DCMAKE_SYSTEM_NAME=Generic
|
||||
-DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
|
||||
-DCMAKE_VERBOSE_MAKEFILE=On
|
||||
"${COOKBOOK_SOURCE}"
|
||||
)
|
||||
cookbook_configure
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user