comms/hackrf: update to 2017.02.1
PR: 224586 Submitted by: phk Approved by: maintainer timeout (cederom@tlen.pl, > 2 weeks)
This commit is contained in:
parent
95a1554a33
commit
ea0f5cf9d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458672
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= hackrf
|
||||
PORTVERSION= 2015.07.2
|
||||
PORTVERSION= 2017.02.1
|
||||
CATEGORIES= comms devel hamradio science security
|
||||
|
||||
MAINTAINER= cederom@tlen.pl
|
||||
@ -12,7 +12,7 @@ LICENSE= GPLv2
|
||||
|
||||
USE_GITHUB= YES
|
||||
GH_ACCOUNT= mossmann
|
||||
GH_TAGNAME= 69c4997
|
||||
GH_TAGNAME= 31a37bd
|
||||
|
||||
USES= cmake:outsource
|
||||
CMAKE_SOURCE_PATH= ${WRKSRC}/host
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (mossmann-hackrf-2015.07.2-69c4997_GH0.tar.gz) = fa4c18a9108011d306e90b16866e42f908c13f3ddc47db774344c0eb053543e5
|
||||
SIZE (mossmann-hackrf-2015.07.2-69c4997_GH0.tar.gz) = 15625682
|
||||
TIMESTAMP = 1515609346
|
||||
SHA256 (mossmann-hackrf-2017.02.1-31a37bd_GH0.tar.gz) = df00fd6d4fa7aa6fbd07ffc513c664aeac1824c1e4c2a2616ea167579dd1f797
|
||||
SIZE (mossmann-hackrf-2017.02.1-31a37bd_GH0.tar.gz) = 16939945
|
||||
|
@ -9,42 +9,3 @@
|
||||
|
||||
INCLUDE(TestBigEndian)
|
||||
TEST_BIG_ENDIAN(BIGENDIAN)
|
||||
@@ -68,8 +68,13 @@ ENDIF(CMAKE_CROSSCOMPILING)
|
||||
|
||||
set(prefix ${CMAKE_INSTALL_PREFIX})
|
||||
set(exec_prefix \${prefix})
|
||||
-set(libdir \${exec_prefix}/lib)
|
||||
+set(libdir \${exec_prefix}/lib${LIB_SUFFIX})
|
||||
set(includedir \${prefix}/include)
|
||||
+set(libpkgdata "lib"${LIB_SUFFIX})
|
||||
+
|
||||
+if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||
+ set(libpkgdata "libdata")
|
||||
+endif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||
|
||||
CONFIGURE_FILE(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libhackrf.pc.in
|
||||
@@ -78,7 +83,7 @@ CONFIGURE_FILE(
|
||||
|
||||
INSTALL(
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/libhackrf.pc
|
||||
- DESTINATION lib/pkgconfig
|
||||
+ DESTINATION ${libpkgdata}/pkgconfig
|
||||
)
|
||||
|
||||
########################################################################
|
||||
@@ -100,9 +105,13 @@ endif()
|
||||
########################################################################
|
||||
option(INSTALL_UDEV_RULES "Install udev rules for HackRF" OFF)
|
||||
if (INSTALL_UDEV_RULES)
|
||||
+ if (NOT UDEV_INSTALL_DIR)
|
||||
+ set (UDEV_INSTALL_DIR "/etc/udev/rules.d")
|
||||
+ endif (NOT UDEV_INSTALL_DIR)
|
||||
+
|
||||
install (
|
||||
FILES 53-hackrf.rules
|
||||
- DESTINATION "/etc/udev/rules.d"
|
||||
+ DESTINATION ${UDEV_INSTALL_DIR}
|
||||
COMPONENT "udev"
|
||||
)
|
||||
else (INSTALL_UDEV_RULES)
|
||||
|
@ -9,5 +9,5 @@ include/libhackrf/hackrf.h
|
||||
lib/libhackrf.a
|
||||
lib/libhackrf.so
|
||||
lib/libhackrf.so.0
|
||||
lib/libhackrf.so.0.3.0
|
||||
lib/libhackrf.so.0.4.0
|
||||
libdata/pkgconfig/libhackrf.pc
|
||||
|
Loading…
Reference in New Issue
Block a user