Packages should not own this dir to prevent its deletion or a warning that it cannot be removed because it's not empty at pkg_delete(1) time.
39 lines
890 B
Makefile
39 lines
890 B
Makefile
# $OpenBSD: Makefile,v 1.3 2015/05/22 11:31:11 ajacoutot Exp $
|
|
|
|
COMMENT= software to turn RTL2832U into an SDR
|
|
|
|
DISTNAME= rtl-sdr-0.20130412
|
|
REVISION= 1
|
|
|
|
SHARED_LIBS= rtlsdr 0.0
|
|
|
|
CATEGORIES= comms
|
|
|
|
HOMEPAGE= http://sdr.osmocom.org/trac/wiki/rtl-sdr
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += c m pthread usb-1.0
|
|
|
|
# http://cgit.osmocom.org/rtl-sdr
|
|
MASTER_SITES= http://spacehopper.org/mirrors/
|
|
|
|
MODULES= devel/cmake
|
|
LIB_DEPENDS= devel/libusb1
|
|
|
|
CONFIGURE_STYLE= cmake
|
|
|
|
NO_TEST= Yes
|
|
|
|
# rtl_tcp, rtl_adsb and rtl_fm require asynchronous mode which is
|
|
# not currently working. additionally, rtl_adsb and rtl_fm have mutex
|
|
# issues (unlocking already-unlocked mutex). other programs have been
|
|
# patched to force synchronous mode. update DESCR if fixing these.
|
|
post-install:
|
|
cd ${PREFIX}/bin && rm rtl_adsb rtl_tcp
|
|
|
|
.include <bsd.port.mk>
|