Makefile 862 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.4 2016/03/04 10:11:21 kirby Exp $
  2. COMMENT= software to turn RTL2832U into an SDR
  3. DISTNAME= rtl-sdr-0.20130412
  4. REVISION= 1
  5. SHARED_LIBS= rtlsdr 0.0
  6. CATEGORIES= comms
  7. HOMEPAGE= http://sdr.osmocom.org/trac/wiki/rtl-sdr
  8. MAINTAINER= Stuart Henderson <sthen@openbsd.org>
  9. # GPLv2+
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += c m pthread usb-1.0
  12. # http://cgit.osmocom.org/rtl-sdr
  13. MASTER_SITES= http://spacehopper.org/mirrors/
  14. MODULES= devel/cmake
  15. LIB_DEPENDS= devel/libusb1
  16. NO_TEST= Yes
  17. # rtl_tcp, rtl_adsb and rtl_fm require asynchronous mode which is
  18. # not currently working. additionally, rtl_adsb and rtl_fm have mutex
  19. # issues (unlocking already-unlocked mutex). other programs have been
  20. # patched to force synchronous mode. update DESCR if fixing these.
  21. post-install:
  22. cd ${PREFIX}/bin && rm rtl_adsb rtl_tcp
  23. .include <bsd.port.mk>