# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/ycalc/ycalc.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 --- makeinstopt= ycalc_post() { install -m755 -s ycalc $root/usr/bin } hook_add postmake 5 "ycalc_post" if [[ $libdir == *lib64 ]]; then hook_add premake 4 "sed -i -e 's%/lib%/lib64%' Makefile" fi