1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../zthread/zthread.conf
5 # Copyright (C) 2008 - 2009 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- T2-COPYRIGHT-NOTE-END ---
15 # clean up .swp files accidently left over
16 hook_add inmake 3 'rm -f include/zthread/.Barrier.h.swp'
20 cp $confdir/zthread.pc.in ${root}$(pkgprefix libdir pkgconfig)/pkgconfig/zthread.pc
21 chmod 644 ${root}$(pkgprefix libdir pkgconfig)/pkgconfig/zthread.pc
23 sed -e "s,@libdir@,$libdir,g" \
24 -e "s,@prefix@,/$prefix,g" \
25 -e "s,@exec_prefix@,\$\{prefix},g" \
26 -e "s,@includedir@,\$\{prefix}/include/zthread," \
27 -e "s,@ZTHREAD_VER@,$ver,g" \
28 -i ${root}$(pkgprefix libdir pkgconfig)/pkgconfig/zthread.pc
30 hook_add postmake 3 z_setup
34 doxygen ./doc/zthread.doxygen
35 cp ./doc/documentation.html ./doc/html/index.html
36 cp ./doc/zthread.css ./doc/html/zthread.css
37 cp ./doc/bugs.js ./doc/html/bugs.js
39 [ $SDECFG_CREATE_DOCS -ne 0 ] && hook_add inmake 3 z_docs