# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/simh/simh.conf # Copyright (C) 2004 - 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 --- var_remove_regex makeopt " " "CC=.*" # The zip file comes without a root directory, so it needs to be extracted # into another directory. var_append zipopt " " "-d simh$ver" makeinstopt= simh_premake() { mkdir BIN } simh_postmake() { cp -vf BIN/* $root$bindir/ } simh_postdoc() { cp `find -name '*.txt' -printf '%p '` $root$docdir/ } hook_add premake 5 simh_premake hook_add postmake 5 simh_postmake hook_add postdoc 5 simh_postdoc