1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | PortGroup cmake 1.0 |
---|
7 | PortGroup github 1.0 |
---|
8 | |
---|
9 | name gnss-sdr |
---|
10 | maintainers gmail.com:carlesfernandez openmaintainer |
---|
11 | description An Open Source GNSS Software Defined Receiver |
---|
12 | homepage http://gnss-sdr.org |
---|
13 | categories science |
---|
14 | license GPL-3 |
---|
15 | platforms darwin |
---|
16 | |
---|
17 | use_parallel_build yes |
---|
18 | |
---|
19 | dist_subdir gnss-sdr |
---|
20 | |
---|
21 | set next_version dcb6ed7c50c4afeb24de8f22aeab56fc202a020e |
---|
22 | set next_rmd160 e9261fdf1ff6b95f4c0fc8fbd0d1ac4ecee498e3 |
---|
23 | set next_sha256 0796965c59e35e6270078e3ad68f2c0915c583bab4c182dd9f3093673eb17ea8 |
---|
24 | |
---|
25 | set add_osmosdr -DENABLE_OSMOSDR=ON |
---|
26 | |
---|
27 | if {${subport} eq ${name}} { |
---|
28 | version 0.0.5 |
---|
29 | set release_rmd160 9f81da7f66bb099a81ea141a58a4f5962bad7372 |
---|
30 | set release_sha256 27e0690103cb018ec41051c368feff04af197ea28f9de51810e4053c64274a36 |
---|
31 | long_description ${description}: \ |
---|
32 | This port is kept up with the GNSS-SDR release, currently ${version}, which is typically updated every few months. This version compiles against the gnuradio port, which represents the current GNU Radio release. |
---|
33 | |
---|
34 | github.setup gnss-sdr gnss-sdr ${version} v |
---|
35 | github.tarball_from tags |
---|
36 | conflicts gnuradio-legacy gnuradio-devel gnuradio-next |
---|
37 | depends_lib port:armadillo port:gr-osmosdr port:uhd port:gnuradio port:gflags |
---|
38 | checksums rmd160 ${release_rmd160} \ |
---|
39 | sha256 ${release_sha256} |
---|
40 | } |
---|
41 | |
---|
42 | subport gnss-sdr-devel { |
---|
43 | long_description ${description}: \ |
---|
44 | This port is kept up with the GNSS-SDR GIT ’next’ branch, which is typically updated daily to weekly. This version of GNSS-SDR generally contains fixes and new features that will be incorporated in an upcoming release, and compiles against the gnuradio-devel port, which represents GNU Radio GIT 'master' branch. This port may or not compile or function correctly, as it represents a work in progress. If it does not work, check back in a few days. Or try deactivating the currently active gnss-sdr and gnuradio ports, cleaning any current builds, and trying again. |
---|
45 | |
---|
46 | name gnss-sdr-devel |
---|
47 | github.setup gnss-sdr gnss-sdr ${next_version} |
---|
48 | version ${release_version}_20150113 |
---|
49 | set add_osmosdr -DENABLE_OSMOSDR=OFF |
---|
50 | conflicts gnuradio-legacy gnuradio gnuradio-next |
---|
51 | depends_lib port:armadillo port:gnuradio-devel port:gflags |
---|
52 | checksums rmd160 ${next_rmd160} \ |
---|
53 | sha256 ${next_sha256} |
---|
54 | } |
---|
55 | |
---|
56 | subport gnss-sdr-next { |
---|
57 | long_description ${description}: \ |
---|
58 | This port is kept up with the GNSS-SDR GIT ’next’ branch, which is typically updated daily to weekly. This version of GNSS-SDR generally contains fixes and new features that will be incorporated in an upcoming release, and compiles against the gnuradio-next port, which represents GNU Radio GIT ’next’ branch. This port may or not compile or function correctly, as it represents a work in progress. If it does not work, check back in a few days. Or try deactivating the currently active gnss-sdr and gnuradio ports, cleaning any current builds, and trying again. |
---|
59 | |
---|
60 | name gnss-sdr-next |
---|
61 | github.setup gnss-sdr gnss-sdr ${next_version} |
---|
62 | version ${release_version}_20150113 |
---|
63 | set add_osmosdr -DENABLE_OSMOSDR=OFF |
---|
64 | conflicts gnuradio-legacy gnuradio gnuradio-devel |
---|
65 | depends_lib port:gnuradio-next |
---|
66 | checksums rmd160 ${next_rmd160} \ |
---|
67 | sha256 ${next_sha256} |
---|
68 | } |
---|
69 | |
---|
70 | configure.dir ${worksrcpath}/build |
---|
71 | configure.cmd cmake -DENABLE_PACKAGING=ON -ENABLE_OWN_GLOG=ON ${add_osmosdr} .. |
---|
72 | build.dir ${worksrcpath}/build |
---|