mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 23:04:19 +08:00
43 lines
783 B
Bash
43 lines
783 B
Bash
VERSION=0.27
|
|
GIT=https://gitlab.redox-os.org/redox-os/gigalomania.git
|
|
BRANCH=master
|
|
BUILD_DEPENDS=(sdl_mixer sdl_image sdl liborbital libogg libpng libjpeg libvorbis zlib)
|
|
|
|
function recipe_version {
|
|
echo "$VERSION"
|
|
skip=1
|
|
}
|
|
|
|
function recipe_update {
|
|
echo "skipping update"
|
|
skip=1
|
|
}
|
|
|
|
function recipe_build {
|
|
export CPPHOST=${HOST}-g++
|
|
sysroot="$(realpath ../sysroot)"
|
|
export LDFLAGS="-L$sysroot/lib"
|
|
export CPPFLAGS="-I$sysroot/include"
|
|
make all -j"$(nproc)"
|
|
skip=1
|
|
}
|
|
|
|
function recipe_test {
|
|
echo "skipping test"
|
|
skip=1
|
|
}
|
|
|
|
function recipe_clean {
|
|
make clean
|
|
skip=1
|
|
}
|
|
|
|
function recipe_stage {
|
|
dest="$(realpath $1)"
|
|
bundledir="$dest/bundle"
|
|
|
|
make VERBOSE=1 DESTDIR="$dest" install
|
|
rm -rf "$bundledir"
|
|
skip=1
|
|
}
|