bcm28xx: update kernel
[openadk.git] / package / boringssl / Makefile
blob7398721f2b6ec46aed6d263908586ee8e0fe3e00
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= boringssl
7 PKG_VERSION:= 2b56981b6415dc3fa70432649c2f289c77707a69
8 PKG_RELEASE:= 1
9 PKG_GIT:= hash
10 PKG_DESCR:= ssl library
11 PKG_SECTION:= libs/crypto
12 PKG_BUILDDEP:= cmake-host
13 PKG_NEEDS:= c++
14 PKG_URL:= https://boringssl.googlesource.com/
15 PKG_SITES:= https://boringssl.googlesource.com/boringssl.git
16 PKG_OPTS:= dev
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,BORINGSSL,boringssl,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
22 WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
23 CONFIG_STYLE:= cmake
24 CMAKE_FLAGS+= -DBUILD_SHARED_LIBS=1
25 INSTALL_STYLE:= manual
27 boringssl-install:
28 $(INSTALL_DIR) $(IDIR_BORINGSSL)/usr/lib
29 $(CP) $(WRKBUILD)/ssl/libssl.so \
30 $(IDIR_BORINGSSL)/usr/lib
32 include $(ADK_TOPDIR)/mk/pkg-bottom.mk