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 | PortGroup active_variants 1.1 |
---|
9 | |
---|
10 | name gnss-sdr |
---|
11 | maintainers gmail.com:carlesfernandez openmaintainer |
---|
12 | description An Open Source GNSS Software Defined Receiver |
---|
13 | homepage http://gnss-sdr.org |
---|
14 | categories science |
---|
15 | license GPL-3 |
---|
16 | platforms darwin |
---|
17 | |
---|
18 | use_parallel_build yes |
---|
19 | |
---|
20 | dist_subdir gnss-sdr |
---|
21 | |
---|
22 | set release_version 0.0.6 |
---|
23 | |
---|
24 | set next_version 8c668f7bc2e6872828c4bffdcb4e275c77b8e26f |
---|
25 | set next_rmd160 a8c424a1c552e2c11396a25a8c07be7249ae04a0 |
---|
26 | set next_sha256 2ac1be987f5ce3a6ba9fdf626054742458d5a012fe383a58f90d71e2515221b0 |
---|
27 | |
---|
28 | set add_osmosdr -DENABLE_OSMOSDR=ON |
---|
29 | |
---|
30 | if {${subport} eq ${name}} { |
---|
31 | version ${release_version} |
---|
32 | set release_rmd160 3a578f4795f6230d3f627dbe6f80f77c7dac206e |
---|
33 | set release_sha256 ed81a5dff8d91b0b1d561ab8a240818da447c8358b95ab42d6a17b479e873c3e |
---|
34 | long_description ${description}: \ |
---|
35 | 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. |
---|
36 | |
---|
37 | github.setup gnss-sdr gnss-sdr ${version} v |
---|
38 | github.tarball_from tags |
---|
39 | conflicts gnuradio-legacy gnuradio-devel gnuradio-next |
---|
40 | depends_lib port:armadillo port:gnuradio port:gr-osmosdr port:gflags port:google-glog |
---|
41 | require_active_variants port:google-glog gflags |
---|
42 | checksums rmd160 ${release_rmd160} \ |
---|
43 | sha256 ${release_sha256} |
---|
44 | } |
---|
45 | |
---|
46 | subport gnss-sdr-devel { |
---|
47 | long_description ${description}: \ |
---|
48 | 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. |
---|
49 | |
---|
50 | name gnss-sdr-devel |
---|
51 | github.setup gnss-sdr gnss-sdr ${next_version} |
---|
52 | version ${release_version}_20150902 |
---|
53 | conflicts gnuradio-legacy gnuradio gnuradio-next |
---|
54 | depends_lib port:armadillo port:gnuradio-devel port:gr-osmosdr port:gflags port:google-glog |
---|
55 | require_active_variants port:google-glog gflags |
---|
56 | checksums rmd160 ${next_rmd160} \ |
---|
57 | sha256 ${next_sha256} |
---|
58 | } |
---|
59 | |
---|
60 | subport gnss-sdr-next { |
---|
61 | long_description ${description}: \ |
---|
62 | 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. |
---|
63 | |
---|
64 | name gnss-sdr-next |
---|
65 | github.setup gnss-sdr gnss-sdr ${next_version} |
---|
66 | version ${release_version}_20150902 |
---|
67 | set add_osmosdr -DENABLE_OSMOSDR=OFF |
---|
68 | conflicts gnuradio-legacy gnuradio gnuradio-devel |
---|
69 | depends_lib port:armadillo port:gnuradio-next port:gflags port:google-glog |
---|
70 | require_active_variants port:google-glog gflags |
---|
71 | checksums rmd160 ${next_rmd160} \ |
---|
72 | sha256 ${next_sha256} |
---|
73 | } |
---|
74 | |
---|
75 | configure.dir ${worksrcpath}/build |
---|
76 | configure.cmd cmake -DENABLE_PACKAGING=ON ${add_osmosdr} .. |
---|
77 | build.dir ${worksrcpath}/build |
---|