[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / libBlocksRuntime

File: [cvs.NetBSD.org] / pkgsrc / lang / libBlocksRuntime / Makefile (download)

Revision 1.3, Wed Nov 9 13:14:14 2022 UTC (2 months, 2 weeks ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.2: +2 -2 lines

Reset MAINTAINER

# $NetBSD: Makefile,v 1.3 2022/11/09 13:14:14 joerg Exp $

VERS=		6.0.0
DISTNAME=	compiler-rt-${VERS}.src
PKGNAME=	libBlocksRuntime-${VERS}
CATEGORIES=	lang devel
MASTER_SITES=	https://releases.llvm.org/${VERS}/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://compiler-rt.llvm.org/
COMMENT=	Runtime support for Apple Blocks
LICENSE=	mit

EXTRACT_SUFX=	.tar.xz

USE_LANGUAGES=	c
USE_LIBTOOL=	yes

INSTALLATION_DIRS+=	include lib

do-build:
	cd ${WRKSRC}/lib/BlocksRuntime && ${SETENV} ${MAKE_ENV} \
	    ${LIBTOOL} --mode=compile ${COMPILE.c} data.c
	cd ${WRKSRC}/lib/BlocksRuntime && ${SETENV} ${MAKE_ENV} \
	    ${LIBTOOL} --mode=compile ${COMPILE.c} runtime.c
	cd ${WRKSRC}/lib/BlocksRuntime && ${SETENV} ${MAKE_ENV} \
	    ${LIBTOOL} --mode=link ${LINK.c} -o libBlocksRuntime.la \
	    data.lo runtime.lo -version-info 1:0:0 -rpath ${PREFIX}/lib

do-install:
	${SETENV} ${MAKE_ENV} ${LIBTOOL} --mode=install ${INSTALL_LIB} \
	    ${WRKSRC}/lib/BlocksRuntime/libBlocksRuntime.la \
		${DESTDIR}${PREFIX}/lib/
	${INSTALL_DATA} ${WRKSRC}/lib/BlocksRuntime/Block.h \
		${DESTDIR}${PREFIX}/include/

.include "../../mk/bsd.pkg.mk"