[142107] trunk/dports/science

michaelld at macports.org michaelld at macports.org
Sat Dec 12 04:21:37 PST 2015


Revision: 142107
          https://trac.macports.org/changeset/142107
Author:   michaelld at macports.org
Date:     2015-11-03 11:54:03 -0800 (Tue, 03 Nov 2015)
Log Message:
-----------
volk-gnss-sdr*: new ports.

Added Paths:
-----------
    trunk/dports/science/volk-gnss-sdr/
    trunk/dports/science/volk-gnss-sdr/Portfile
    trunk/dports/science/volk-gnss-sdr/files/
    trunk/dports/science/volk-gnss-sdr/files/patch-volk.diff

Added: trunk/dports/science/volk-gnss-sdr/Portfile
===================================================================
--- trunk/dports/science/volk-gnss-sdr/Portfile	                        (rev 0)
+++ trunk/dports/science/volk-gnss-sdr/Portfile	2015-11-03 19:54:03 UTC (rev 142107)
@@ -0,0 +1,97 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+
+PortGroup           cmake 1.0
+PortGroup           github 1.0
+PortGroup           active_variants 1.1
+
+name                volk-gnss-sdr
+maintainers         michaelld gmail.com:carlesfernandez openmaintainer
+description         Volk modules for GNSS-SDR
+categories          science
+license             GPL-3
+platforms           darwin
+
+dist_subdir         gnss-sdr
+
+if {${subport} eq "volk-gnss-sdr"} {
+
+    long_description    ${description}: \
+        This port is kept up with the VOLK-GNSS-SDR release, which is typically updated every few months. This version compiles against the gnss-sdr and gnuradio ports.
+
+    github.setup        gnss-sdr gnss-sdr 0.0.6 v
+    checksums           rmd160 3a578f4795f6230d3f627dbe6f80f77c7dac206e \
+                        sha256 ed81a5dff8d91b0b1d561ab8a240818da447c8358b95ab42d6a17b479e873c3e
+    github.tarball_from tags
+
+    conflicts           volk-gnss-sdr-devel volk-gnss-sdr-next
+
+    depends_lib-append  port:gnss-sdr
+
+    # temporary patch to fix Volk #define in compatibility
+
+    patchfiles-append patch-volk.diff
+
+}
+
+subport volk-gnss-sdr-devel {
+
+    long_description    ${description}: \
+        This port is kept up with the VOLK-GNSS-SDR GIT master branch, which is typically updated daily to weekly.  This version of VOLK-GNSS-SDR generally contains fixes and new features that will be incorporated in an upcoming release, and compiles against the gnss-sdr-devel and gnuradio-devel ports.  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.
+
+    name                volk-gnss-sdr-devel
+    github.setup        gnss-sdr gnss-sdr df6bd17bd844cddf46ce3f7e2a86fcde4a5eb24b
+    version             20151025
+    checksums           rmd160 022cdccaf466d7c5cd43e4fd0ba201400eda9d0e \
+                        sha256 0808ecf6e17bf8e2b52f19bfd0c472f18c5a8718d5a665574c052c0a06452789
+
+    conflicts           volk-gnss-sdr volk-gnss-sdr-next
+
+    depends_lib-append  port:gnss-sdr-devel
+
+}
+
+subport volk-gnss-sdr-next {
+    long_description    ${description}: \
+        This port is kept up with the VOLK-GNSS-SDR GIT next branch, which is typically updated daily to weekly.  This version of VOLK-GNSS-SDR generally contains fixes and new features that will be incorporated in an upcoming release, and compiles against the gnss-sdr-next and gnuradio-next ports.  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.
+
+    name                volk-gnss-sdr-next
+    github.setup        gnss-sdr gnss-sdr db4d55db6227cb220499ef1431f79cfbbf48b469
+    version             20151101
+    checksums           rmd160 a362905eab0ce835ae9acaeabf5d5f46e72289a9 \
+                        sha256 bc3be18d87cc2de812ba4ee3f00e9c27052e99fe2b2e3905236ce236522448da
+
+    conflicts           volk-gnss-sdr volk-gnss-sdr-devel
+
+    depends_lib-append  port:gnss-sdr-next
+
+}
+
+# override githib PortGroup homepage setting
+
+homepage            http://gnss-sdr.org
+
+depends_build-append port:pkgconfig
+
+# can use either the Volk release or devel port
+
+depends_lib-append \
+    path:lib/libvolk.dylib:volk \
+    port:orc \
+    port:py27-cheetah \
+    port:boost
+
+# do VPATH (out of source tree) build
+
+cmake.out_of_source yes
+
+# set work directory
+
+worksrcdir ${worksrcdir}/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr
+
+# remove top-level library path, such that internal libraries are used
+# instead of any already-installed ones.
+
+configure.ldflags-delete -L${prefix}/lib


Property changes on: trunk/dports/science/volk-gnss-sdr/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/science/volk-gnss-sdr/files/patch-volk.diff
===================================================================
--- trunk/dports/science/volk-gnss-sdr/files/patch-volk.diff	                        (rev 0)
+++ trunk/dports/science/volk-gnss-sdr/files/patch-volk.diff	2015-11-03 19:54:03 UTC (rev 142107)
@@ -0,0 +1,19 @@
+--- include/volk_gnsssdr/volk_gnsssdr_complex.h.orig
++++ include/volk_gnsssdr/volk_gnsssdr_complex.h
+@@ -24,6 +24,9 @@
+ #ifndef INCLUDE_VOLK_COMPLEX_H
+ #define INCLUDE_VOLK_COMPLEX_H
+ 
++#ifndef INCLUDED_VOLK_COMPLEX_H
++#define INCLUDED_VOLK_COMPLEX_H
++
+ /*!
+  * \brief Provide typedefs and operators for all complex types in C and C++.
+  *
+@@ -106,4 +109,6 @@ typedef double complex       lv_64fc_t;
+ 
+ #endif /* __cplusplus */
+ 
++#endif /* INCLUDED_VOLK_COMPLEX_H */
++
+ #endif /* INCLUDE_VOLK_COMPLEX_H */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/5d0af020/attachment.html>


More information about the macports-changes mailing list