Skip to content

Commit

Permalink
hackrf: move current to devel & add release.
Browse files Browse the repository at this point in the history
Addresses #316 .
  • Loading branch information
michaelld committed Feb 23, 2017
1 parent 717d659 commit b566db2
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions science/hackrf/Portfile
Expand Up @@ -4,11 +4,7 @@ PortSystem 1.0
PortGroup cmake 1.0
PortGroup github 1.0

github.setup mossmann hackrf c4d7d308a44befa333804515c0b8210d387f25c7
version 20170219
checksums rmd160 a84e41d2349632bc53de0895314734adbc6745d8 \
sha256 3267aee0e3784d5eb2bb4a3666927e44501f53dee393108e8140207ebcfde7cc

name hackrf
maintainers michaelld openmaintainer

description ${name} is a project to build a low cost software radio (SDR) platform.
Expand All @@ -19,6 +15,29 @@ platforms darwin macosx

long_description ${description}

subport hackrf-devel {}

if {${subport} eq ${name}} {

# release
github.setup mossmann hackrf v2017.02.1
version 2017.02.1
checksums rmd160 8437d618c974f507550ec526c037c6b08d0af9f4 \
sha256 74c7a046f076feb18f4996de8856020d683a2ca9ef07df34c6f1542f3601a461

# bump the epoch because I moved the version from 20170219 to 2017.02.1
epoch 1

} else {

# devel
github.setup mossmann hackrf c4d7d308a44befa333804515c0b8210d387f25c7
version 20170219
checksums rmd160 a84e41d2349632bc53de0895314734adbc6745d8 \
sha256 3267aee0e3784d5eb2bb4a3666927e44501f53dee393108e8140207ebcfde7cc

}

depends_build-append port:pkgconfig
depends_lib-append path:lib/libusb-1.0.dylib:libusb \
port:fftw-3-single
Expand Down

0 comments on commit b566db2

Please sign in to comment.