# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/gnatcoll-bindings/gnatcoll-bindings.conf # Copyright (C) 2024 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 --- components="gmp iconv lzma omp readline syslog zlib" build() { for component in $components do [ "$component" == readline ] && accept_gpl="--accept-gpl" || unset accept_gpl mkdir -p build/$component cd build/$component python3 ../../$component/setup.py build $accept_gpl --library-types static cd ../.. done } install() { for component in $components do cd build/$component python3 ../../$component/setup.py install --prefix=$root/$prefix cd ../.. done } makeopt= makeinstopt= hook_add inmake 2 build hook_add postmake 2 install