# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/peasyscale-exec/peasyscale-exec.conf # Copyright (C) 2021 - 2022 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- pse_pre_fix() { [ -f peasyscale.bin ] && rm -f peasyscale.bin sed -i -e 's%Werror%Wall%' Makefile } hook_add premake 5 "pse_pre_fix" var_append makeopt ' ' 'doit' makeinstopt= pse_post_fix() { mkdir -p $root/usr/local/bin install -m755 peasyscale.bin $root/usr/local/bin } hook_add postmake 6 "pse_post_fix" #need this, otherwise get error, as have installed into usr/local: check_usrlocal=0