Recipe cleanups

This commit is contained in:
Jeremy Soller 2018-12-10 13:18:10 -07:00
parent e5b2d755a6
commit cb6e329030
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
3 changed files with 5 additions and 4 deletions

View File

@ -31,6 +31,6 @@ function recipe_clean {
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
ln -s "dash" "$1/bin/sh"
ln -s "dash" "$dest/bin/sh"
skip=1
}

View File

@ -31,7 +31,7 @@ function recipe_clean {
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
${HOST}-strip "$1"/bin/*
rm -rf "$1"/{lib,share}
${HOST}-strip "$dest"/bin/*
rm -rf "$dest"/{lib,share}
skip=1
}

View File

@ -26,7 +26,8 @@ function recipe_build {
--enable-fcmp=cli \
--with-sdl-prefix="$sysroot" \
ac_cv_lib_SDL_image_IMG_Load=yes \
ac_cv_lib_SDL_ttf_TTF_OpenFont=yes
ac_cv_lib_SDL_ttf_TTF_OpenFont=yes \
ac_cv_lib_SDL_gfx_rotozoomSurface=yes
make -j"$(nproc)" V=1
skip=1
}