71dd16afa9
Various bug fixes
33 lines
870 B
Makefile
33 lines
870 B
Makefile
# $NetBSD: Makefile,v 1.10 2017/01/12 05:49:54 skrll Exp $
|
|
#
|
|
|
|
DISTNAME= userland-20170109
|
|
PKGNAME= raspberrypi-${DISTNAME}
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=jaredmcneill/}
|
|
GITHUB_PROJECT= userland
|
|
GITHUB_TAG= 734d76b0675685e9ec9148694f2cc00f58e5ebc0
|
|
|
|
MAINTAINER= jmcneill@NetBSD.org
|
|
HOMEPAGE= http://github.com/jaredmcneill/userland
|
|
COMMENT= Various libraries for the Raspberry Pi
|
|
LICENSE= modified-bsd
|
|
|
|
EXTRACT_USING= bsdtar
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-*arm*
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_CMAKE= yes
|
|
CMAKE_ARGS+= -DCMAKE_TOOLCHAIN_FILE=${WRKSRC}/makefiles/cmake/toolchains/arm-netbsdelf.cmake
|
|
|
|
SUBST_CLASSES+= vc
|
|
SUBST_STAGE.vc= pre-configure
|
|
SUBST_MESSAGE.vc= Fixing hard-coded install paths.
|
|
SUBST_FILES.vc= makefiles/cmake/vmcs.cmake
|
|
SUBST_SED.vc= -e 's,/opt/vc,${PREFIX},g'
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|