mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
Compare commits
2 Commits
70a3f9e16e
...
bebe444ca8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bebe444ca8 | ||
|
|
23b3e6f991 |
@ -106,6 +106,7 @@ glutin = {}
|
||||
gnu-binutils = {}
|
||||
gnu-grep = {}
|
||||
gnu-make = {}
|
||||
go = {}
|
||||
goaccess = {}
|
||||
gobject-introspection = {}
|
||||
gitoxide = {}
|
||||
@ -126,6 +127,7 @@ intel-one-mono = {}
|
||||
ion = {}
|
||||
kernel = {}
|
||||
kibi = {}
|
||||
lazygit = {}
|
||||
lci = {}
|
||||
libarchive = {}
|
||||
libatomic = {}
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
#TODO: Incomplete std/syscall porting, or vendor patches
|
||||
#TODO: require git update
|
||||
[source]
|
||||
git = "https://github.com/jesseduffield/lazygit"
|
||||
git = "https://github.com/willnode/lazygit"
|
||||
branch = "redox"
|
||||
shallow_clone = true
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
dev-dependencies = [
|
||||
@ -21,3 +23,8 @@ esac
|
||||
mkdir -p $COOKBOOK_STAGE/usr/bin
|
||||
go build -C ${COOKBOOK_SOURCE} -o $COOKBOOK_STAGE/usr/bin/lazygit
|
||||
"""
|
||||
|
||||
[package]
|
||||
dependencies = [
|
||||
"git"
|
||||
]
|
||||
|
||||
@ -7,6 +7,7 @@ shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
COOKBOOK_NOSTRIP=1
|
||||
export PATH=$HOME/.local/go/bin:$PATH
|
||||
|
||||
export GOPATH=${COOKBOOK_BUILD}/gopath
|
||||
@ -31,7 +32,7 @@ case "${TARGET}" in
|
||||
riscv64gc-unknown-redox) export GOARCH=riscv64 GOOS=redox;;
|
||||
esac
|
||||
|
||||
export CGO_ENABLED=1
|
||||
export CC=gcc CXX=g++ CGO_ENABLED=0
|
||||
echo "go1.27.3" > VERSION # to set -trimpath
|
||||
(cd ./src && bash ./make.bash)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user