diff options
Diffstat (limited to 'ham/lpcnetfreedv/Makefile')
-rw-r--r-- | ham/lpcnetfreedv/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ham/lpcnetfreedv/Makefile b/ham/lpcnetfreedv/Makefile new file mode 100644 index 00000000000..238a46062d5 --- /dev/null +++ b/ham/lpcnetfreedv/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1 2020/11/29 23:12:43 dbj Exp $ + +# https://github.com/drowe67/LPCNet/archive/v0.2.tar.gz +# http://rowetel.com/downloads/deep/lpcnet_191005_v1.0.tgz +DISTNAME= lpcnetfreedv-0.2 +CATEGORIES= ham +NNDISTFILE= lpcnet_191005_v1.0.tgz +DISTFILES= ${DEFAULT_DISTFILES} ${NNDISTFILE} +SITES.${NNDISTFILE}= http://rowetel.com/downloads/deep/ +MASTER_SITES= ${MASTER_SITE_GITHUB:=drowe67/} +GITHUB_PROJECT= LPCNet +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= dbj@NetBSD.org +#HOMEPAGE= https://people.xiph.org/~jm/demo/lpcnet/ +HOMEPAGE= https://github.com/drowe67/LPCNet +COMMENT= LPCNet library for use by FreeDV +LICENSE= modified-bsd + +USE_LANGUAGES= c +USE_TOOLS+= tar pkg-config + +WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV} + +USE_CMAKE= yes +CONFIGURE_DIRS= build +CMAKE_ARG_PATH= .. +CMAKE_ARGS+= -DDISABLE_CPU_OPTIMIZATION=TRUE +#CMAKE_ARGS+= -DAVX2=1 -DAVX=1 +#CMAKE_ARGS+= -DNEON=1 + +pre-configure: + ${MKDIR} ${WRKSRC}/build + ${CP} ${DISTDIR}/${NNDISTFILE} ${WRKSRC}/build/ + +.include "../../ham/codec2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |