# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/zthread/zthread.conf # Copyright (C) 2008 - 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 --- # clean up .swp files accidently left over hook_add inmake 3 'rm -f include/zthread/.Barrier.h.swp' z_setup() { cp $confdir/zthread.pc.in ${root}$(pkgprefix libdir pkgconfig)/pkgconfig/zthread.pc chmod 644 ${root}$(pkgprefix libdir pkgconfig)/pkgconfig/zthread.pc sed -e "s,@libdir@,$libdir,g" \ -e "s,@prefix@,/$prefix,g" \ -e "s,@exec_prefix@,\$\{prefix},g" \ -e "s,@includedir@,\$\{prefix}/include/zthread," \ -e "s,@ZTHREAD_VER@,$ver,g" \ -i ${root}$(pkgprefix libdir pkgconfig)/pkgconfig/zthread.pc } hook_add postmake 3 z_setup z_docs() { doxygen ./doc/zthread.doxygen cp ./doc/documentation.html ./doc/html/index.html cp ./doc/zthread.css ./doc/html/zthread.css cp ./doc/bugs.js ./doc/html/bugs.js } [ $SDECFG_CREATE_DOCS -ne 0 ] && hook_add inmake 3 z_docs