source: trunk/dports/science/hackrf/Portfile

Last change on this file was 153067, checked in by michaelld@…, 12 months ago

hackrf: update to 78403222 (20160922).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
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: Portfile 153067 2016-09-23 13:20:52Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6PortGroup           github 1.0
7
8github.setup        mossmann hackrf 784032223419e87dfeedaab7e3cacfe7fe32d692
9version             20160922
10checksums           rmd160 6793eef02035518f9cd3d8b8aafa3907ee9158a0 \
11                    sha256 612dbaed821c4b54bcc5f3bed6719c4476c095a2f8f3186181d6e1642d9452a8
12
13maintainers         michaelld openmaintainer
14
15description         ${name} is a project to build a low cost software radio (SDR) platform.
16
17categories          science comms
18license             GPL-3
19platforms           darwin macosx
20
21long_description    ${description}
22
23depends_build-append port:pkgconfig
24depends_lib-append   path:lib/libusb-1.0.dylib:libusb
25
26# Many compilers do not recognize "-std=gnu90", so remove it.
27# Temporary patch.
28
29patchfiles-append   patch-no-gnu90.diff
30
31# do VPATH (out of source tree) build
32
33cmake.out_of_source yes
34
35# set last configure argument to the reletive path
36# to the top-level cmake source
37
38configure.post_args ../${worksrcdir}/host
39
40# remove top-level library path, such that internal libraries are used
41# instead of any already-installed ones.
42
43configure.ldflags-delete -L${prefix}/lib
Note: See TracBrowser for help on using the repository browser.