26 | | master_sites http://people.mech.kuleuven.be/~rsmits/kdl/ |
27 | | distname ${name}-${version}-src |
28 | | use_bzip2 yes |
29 | | |
30 | | checksums md5 4f786fcf415d2db64681ad487c25f419 \ |
31 | | sha1 dd06fe5bff8dfa1940fc80cd2b2f84ce25bea4e7 \ |
32 | | rmd160 c98d51f8f2039d54acd4ef5fd95981b6f228c95f |
33 | | |
34 | | worksrcdir kdl-${version} |
35 | | |
36 | | post-patch { |
37 | | reinplace {s/SIP_VERSION GREATER/SIP_VERSION STRGREATER/} \ |
38 | | ${worksrcpath}/config/FindSIPandPython.cmake |
39 | | } |
| 29 | |
| 30 | checksums rmd160 f9b0fd11bc9220068c39f9e73b4aa4b627c4af11 \ |
| 31 | sha256 89c6770fb944caac574b861914edbe5d40237d74d8bc341683b6c54ed3fbb32a |
| 32 | |
| 33 | cmake.out_of_source yes |
| 34 | configure.post_args ${worksrcpath}/orocos_kdl |
49 | | -DEIGEN2_INCLUDE_DIR=${prefix}/include/eigen2 \ |
50 | | -DOROCOS_INSTALL=${prefix} \ |
51 | | -DOROCOS_PLUGIN=0 \ |
52 | | -DOROCOS_TARGET=macosx |
53 | | |
54 | | variant plugin description "Enable Orocos RTT plugin" { |
55 | | depends_lib-append port:orocos-rtt \ |
56 | | port:boost |
57 | | configure.args-delete -DOROCOS_PLUGIN=0 |
58 | | configure.args-append -DOROCOS_PLUGIN=1 |
59 | | } |
60 | | |
61 | | variant python26 description "Enable Python 2.6 bindings" { |
62 | | post-patch { |
63 | | reinplace {s:\*\.sip:PyKDL/&:} \ |
64 | | ${worksrcpath}/src/bindings/python/CMakeLists.txt |
65 | | reinplace {/#set/s:.*:INSTALL(FILES \${SIP_FILES} DESTINATION share/sip/PyKDL):} \ |
66 | | ${worksrcpath}/src/bindings/python/CMakeLists.txt |
67 | | } |
68 | | |
69 | | depends_lib-append \ |
70 | | port:py26-sip \ |
71 | | port:python26 |
72 | | |
73 | | configure.args-append \ |
74 | | -DPYTHON_BINDINGS=1 |
75 | | } |
76 | | |
77 | | livecheck.type regex |
78 | | livecheck.url ${master_sites} |
79 | | livecheck.regex ${name}-(\\d+(?:\\.\\d+)*) |
| 43 | -DOROCOS_INSTALL=${prefix} |
| 44 | |