diff options
-rw-r--r-- | ham/uhd/Makefile | 17 | ||||
-rw-r--r-- | ham/uhd/distinfo | 8 |
2 files changed, 14 insertions, 11 deletions
diff --git a/ham/uhd/Makefile b/ham/uhd/Makefile index beda0b5dfba..68d2d2f630b 100644 --- a/ham/uhd/Makefile +++ b/ham/uhd/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.10 2015/04/17 15:53:09 adam Exp $ +# $NetBSD: Makefile,v 1.11 2015/08/14 04:53:08 mef Exp $ -DISTNAME= uhd-release_003_007_002 -PKGNAME= uhd-3.7.2 +DISTNAME= uhd-3.7.2 PKGREVISION= 2 CATEGORIES= ham -MASTER_SITES= -https://github.com/EttusResearch/uhd/archive/${DISTNAME:S/uhd-//}${EXTRACT_SUFX} -EXTRACT_SUFX= .zip +MASTER_SITES= ${MASTER_SITE_GITHUB:=EttusResearch/} +GITHUB_PROJECT= uhd +GITHUB_TAG= release_003_007_002 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://code.ettus.com/redmine/ettus/projects/uhd/wiki @@ -20,10 +20,13 @@ CMAKE_ARGS+= -DRST2HTML_EXECUTABLE=${PREFIX}/bin/rst2html-${PYVERSSUFFIX}.py USE_LANGUAGES= c c++ USE_TOOLS= cmake pkg-config USE_CMAKE= yes +# extra pax_global_header exists, and to avoid that: +EXTRACT_USING= gtar +#EXTRACT_ELEMENTS= uhd-${GITHUB_TAG} # Please note distribution has many stuff under uhd/, but build itself # needs under host/ only. Those uhd/ stuff will be handled post-{patch,install}: -WRKSRC= ${WRKDIR}/${DISTNAME}/host +WRKSRC= ${WRKDIR}/uhd-${GITHUB_TAG}/host # The files with their name uhd-xxxx, are moved down from uhd/xxxx for this process. REPLACE_PYTHON= \ @@ -87,7 +90,7 @@ post-patch: (cd ${WRKDIR}; \ for i in firmware fpga images ; do \ ${MKDIR} ${WRKSRC}/uhd-$$i ;\ - ${CP} -r ${WRKDIR}/${DISTNAME}/$$i/* ${WRKSRC}/uhd-$$i ;\ + ${CP} -r ${WRKDIR}/uhd-${GITHUB_TAG}/$$i/* ${WRKSRC}/uhd-$$i ;\ done) # (1) move back the files to original location after REPLACE_PYTHON handled diff --git a/ham/uhd/distinfo b/ham/uhd/distinfo index c1bce4a5e04..88d04416186 100644 --- a/ham/uhd/distinfo +++ b/ham/uhd/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2015/04/23 18:26:30 joerg Exp $ +$NetBSD: distinfo,v 1.5 2015/08/14 04:53:08 mef Exp $ -SHA1 (uhd-release_003_007_002.zip) = 41e110454a7e8a7c749226f17dcf49a62c7c4da4 -RMD160 (uhd-release_003_007_002.zip) = 914115d13028ff753465119848ee9d88811f127b -Size (uhd-release_003_007_002.zip) = 90350334 bytes +SHA1 (uhd-3.7.2.tar.gz) = 76fd06744e82f4d4f8734c100fa9bca309a0a2ae +RMD160 (uhd-3.7.2.tar.gz) = b16c7e946fcb5e9c068c583f4e0cb910a908e1f1 +Size (uhd-3.7.2.tar.gz) = 86463974 bytes SHA1 (patch-host_include_uhd_transport_nirio_nirio__driver__iface_h) = 2ba6c50f467515bfac9fe330572bb0154154a0ad SHA1 (patch-lib_usrp_b200_b200__io__impl.cpp) = 937003ecd88a31d96c5223c95751ace7622e2256 |