mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
Push more packages as dynamic
This commit is contained in:
parent
3809f94aca
commit
a32eaa6b02
@ -5,6 +5,7 @@ branch = "redox"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
./autogen.sh
|
||||
./configure \
|
||||
|
||||
@ -4,5 +4,6 @@ git = "https://gitlab.redox-os.org/redox-os/findutils.git"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo --bin find
|
||||
"""
|
||||
|
||||
@ -4,5 +4,6 @@ git = "https://gitlab.redox-os.org/redox-os/ion.git"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
# Must be statically linked
|
||||
cookbook_cargo
|
||||
"""
|
||||
|
||||
@ -2,11 +2,5 @@
|
||||
git = "https://gitlab.redox-os.org/redox-os/pkgar.git"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
"${COOKBOOK_CARGO}" install \
|
||||
--path "${COOKBOOK_SOURCE}/pkgar" \
|
||||
--root "${COOKBOOK_STAGE}/usr" \
|
||||
--locked \
|
||||
--no-track
|
||||
"""
|
||||
template = "cargo"
|
||||
package_path = "pkgar"
|
||||
|
||||
@ -4,6 +4,7 @@ git = "https://gitlab.redox-os.org/redox-os/pkgutils.git"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
# Must be statically linked
|
||||
PACKAGE_PATH=pkg-cli
|
||||
cookbook_cargo
|
||||
"""
|
||||
|
||||
@ -4,6 +4,7 @@ git = "https://gitlab.redox-os.org/redox-os/userutils.git"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo
|
||||
cp -rv "${COOKBOOK_SOURCE}/res" "${COOKBOOK_STAGE}/etc"
|
||||
ln -s id "${COOKBOOK_STAGE}/usr/bin/whoami"
|
||||
|
||||
@ -5,6 +5,7 @@ git = "https://github.com/uutils/coreutils"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo --no-default-features --features feat_os_unix_redox --bin coreutils
|
||||
|
||||
BINS=(
|
||||
|
||||
@ -2,8 +2,4 @@
|
||||
git = "https://gitlab.redox-os.org/redox-os/exampled.git"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
# Must be statically linked
|
||||
cookbook_cargo
|
||||
"""
|
||||
template = "cargo"
|
||||
|
||||
@ -2,8 +2,5 @@
|
||||
git = "https://github.com/lukas-kirschner/procedural-wallpapers-rs.git"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
COOKBOOK_SOURCE="${COOKBOOK_SOURCE}"/procedural_wallpapers
|
||||
cookbook_cargo
|
||||
"""
|
||||
template = "cargo"
|
||||
package_path = "procedural_wallpapers"
|
||||
|
||||
@ -4,6 +4,7 @@ git = "https://gitlab.redox-os.org/redox-os/installer-gui.git"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo
|
||||
|
||||
mkdir -pv "${COOKBOOK_STAGE}/ui/apps"
|
||||
|
||||
@ -4,6 +4,7 @@ git = "https://gitlab.redox-os.org/redox-os/orbterm.git"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
mkdir -pv "${COOKBOOK_STAGE}/ui"
|
||||
cp -rv "${COOKBOOK_SOURCE}/apps" "${COOKBOOK_STAGE}/ui/apps"
|
||||
|
||||
|
||||
@ -4,6 +4,7 @@ git = "https://gitlab.redox-os.org/redox-os/orbutils.git"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
mkdir -pv "${COOKBOOK_STAGE}/ui"
|
||||
cp -rv "${COOKBOOK_SOURCE}/apps" "${COOKBOOK_STAGE}/ui/apps"
|
||||
|
||||
|
||||
@ -1,8 +1,4 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/redox-fatfs.git"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
# Must be statically linked
|
||||
cookbook_cargo
|
||||
"""
|
||||
template = "cargo"
|
||||
|
||||
@ -12,6 +12,7 @@ dependencies = [
|
||||
"zlib"
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
GNU_CONFIG_GET config.sub
|
||||
DYNAMIC_INIT
|
||||
|
||||
@ -12,6 +12,7 @@ dependencies = [
|
||||
"readline",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
ac_cv_func_wcwidth=no # TODO: add more wc functions and remove this
|
||||
bash_cv_func_sigsetjmp=no
|
||||
|
||||
@ -9,7 +9,7 @@ autoreconf
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
export LDFLAGS="-static"
|
||||
DYNAMIC_INIT
|
||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
gt_cv_locale_fr=false
|
||||
gt_cv_locale_fr_utf8=false
|
||||
|
||||
@ -6,12 +6,10 @@ patches = ["grep.patch"]
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
--prefix=/
|
||||
)
|
||||
cookbook_configure
|
||||
|
||||
"${TARGET}-strip" "${COOKBOOK_STAGE}/bin/grep"
|
||||
|
||||
rm -rf "${COOKBOOK_STAGE}"/{lib,share}
|
||||
"""
|
||||
"""
|
||||
|
||||
@ -4,6 +4,8 @@ git = "https://gitlab.redox-os.org/redox-os/periodictable.git"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo
|
||||
mkdir -pv "${COOKBOOK_STAGE}/ui/apps"
|
||||
cp -v "${COOKBOOK_SOURCE}/pkg/manifest" "${COOKBOOK_STAGE}/ui/apps/periodictable"
|
||||
mkdir -pv "${COOKBOOK_STAGE}/ui/icons"
|
||||
|
||||
@ -4,6 +4,7 @@ git = "https://gitlab.redox-os.org/redox-os/sodium.git"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
"${COOKBOOK_CARGO}" install \
|
||||
--path "${COOKBOOK_SOURCE}" \
|
||||
--root "${COOKBOOK_STAGE}/usr" \
|
||||
|
||||
@ -7,6 +7,7 @@ patches = ["vim.patch"]
|
||||
dependencies = ["ncurses"]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
|
||||
export vim_cv_toupper_broken=no
|
||||
|
||||
Loading…
Reference in New Issue
Block a user