[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / ham / rtl-sdr

Annotation of pkgsrc/ham/rtl-sdr/Makefile, Revision 1.4

1.4     ! mef         1: # $NetBSD: Makefile,v 1.3 2015/08/09 06:25:06 wiz Exp $
1.3       wiz         2:
                      3: DISTNAME=              rtl-sdr-0.5.3
1.1       mef         4: CATEGORIES=            ham
1.3       wiz         5: MASTER_SITES=          ${MASTER_SITE_GITHUB:=steve-m/}
                      6: GITHUB_PROJECT=                librtlsdr
1.4     ! mef         7: GITHUB_TAG=            v${PKGVERSION_NOREV}
1.1       mef         8:
                      9: MAINTAINER=            pkgsrc-users@NetBSD.org
                     10: HOMEPAGE=              http://sdr.osmocom.org/trac/wiki/rtl-sdr
                     11: COMMENT=               Turns your Realtek RTL2832 based DVB dongle into a SDR receiver
                     12: LICENSE=               gnu-gpl-v2
                     13:
                     14: USE_LANGUAGES+=                c c++
                     15: USE_TOOLS+=            gmake
                     16: USE_CMAKE=             yes
                     17: AUTO_MKDIRS=           yes
                     18:
                     19: ## CMake Error at CMakeLists.txt:69 (message):
                     20: ##   LibUSB 1.0 required to compile rtl-sdr
                     21: CMAKE_ARGS+=   -DLIBUSB_INCLUDE_DIR=${PREFIX}/include/libusb-1.0
                     22: CMAKE_ARG_PATH=        ../
                     23: CONFIGURE_DIRS=                build
                     24:
                     25: SUBST_CLASSES+=                destdir
                     26: SUBST_MESSAGE.destdir= Replace install destination to ${DESTDIR}
                     27: SUBST_FILES.destdir=   build/cmake_install.cmake
                     28: SUBST_STAGE.destdir=   pre-install
                     29: SUBST_SED.destdir=     -e 's|\$${CMAKE_INSTALL_PREFIX}|${DESTDIR}\$${CMAKE_INSTALL_PREFIX}|'
                     30:
                     31: pre-configure:
                     32:        (cd ${WRKSRC}; ${MKDIR} build;)
                     33:
                     34: do-build:
                     35:        (cd ${WRKSRC}/build; ${GMAKE})
                     36:
                     37: do-install:
                     38:        (cd ${WRKSRC}/build; ${GMAKE} install)
                     39:
                     40: .include "../../devel/libusb1/buildlink3.mk"
                     41: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>