mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
21 lines
417 B
TOML
21 lines
417 B
TOML
#TODO compile and test
|
|
[source]
|
|
git = "https://github.com/rswinkle/sdl_img"
|
|
rev = "0.101.0"
|
|
shallow_clone = true
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"sdl2",
|
|
]
|
|
script = """
|
|
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
|
DYNAMIC_INIT
|
|
MAKEFLAGS=(
|
|
PLAT=linux
|
|
config=release
|
|
)
|
|
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" "${MAKEFLAGS[@]}"
|
|
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}/usr"
|
|
"""
|