mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
26 lines
691 B
TOML
26 lines
691 B
TOML
#TODO invalid option: --enable-shared
|
|
[source]
|
|
tar = "https://sourceforge.net/projects/vice-emu/files/releases/vice-3.3.tar.gz/download"
|
|
patches = ["01_redox.patch"]
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"sdl1",
|
|
"liborbital",
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
|
|
#export sdl_config="{COOKBOOK_SYSROOT}/bin/sdl-config"
|
|
export CFLAGS="-I{COOKBOOK_SYSROOT}/include -I{COOKBOOK_SYSROOT}/include/SDL"
|
|
export CXXFLAGS="$CFLAGS"
|
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
--enable-sdlui
|
|
--disable-sdlui2
|
|
--disable-rs232
|
|
--disable-realdevice
|
|
--disable-midi
|
|
)
|
|
cookbook_configure
|
|
"""
|