[131266] trunk/dports/science/gr-osmosdr/Portfile
michaelld at macports.org
michaelld at macports.org
Wed Jan 7 19:03:29 PST 2015
Revision: 131266
https://trac.macports.org/changeset/131266
Author: michaelld at macports.org
Date: 2015-01-07 19:03:29 -0800 (Wed, 07 Jan 2015)
Log Message:
-----------
gr-osmosdr: add support for airspy.
Modified Paths:
--------------
trunk/dports/science/gr-osmosdr/Portfile
Modified: trunk/dports/science/gr-osmosdr/Portfile
===================================================================
--- trunk/dports/science/gr-osmosdr/Portfile 2015-01-08 02:57:08 UTC (rev 131265)
+++ trunk/dports/science/gr-osmosdr/Portfile 2015-01-08 03:03:29 UTC (rev 131266)
@@ -107,7 +107,7 @@
# per user concensus: enable all variants except +debug and +universal
-default_variants +docs +uhd +swig +hackrf +fcdproplus +rtlsdr +bladeRF
+default_variants +docs +uhd +swig +hackrf +fcdproplus +rtlsdr +bladeRF +airspy
# set Python variants
@@ -321,3 +321,16 @@
configure.args-append -DENABLE_BLADERF=OFF
}
+
+variant airspy description "Install ${name} with support for airspy" {
+
+ depends_lib-append port:airspy
+ configure.args-append -DENABLE_AIRSPY=ON
+
+}
+
+if {![variant_isset airspy]} {
+
+ configure.args-append -DENABLE_AIRSPY=OFF
+
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150107/086e2eb1/attachment.html>
More information about the macports-changes
mailing list