binutils: update to 2.43.1
[openadk.git] / package / minijail / Makefile
blob4582ff62fe5c30253368070115e1d2328350933e
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:= minijail
7 PKG_VERSION:= v17
8 PKG_RELEASE:= 1
9 PKG_HASH:= 1ee5a5916491a32c121c7422b4d8c16481c0396a3acab34bf1c44589dcf810ae
10 PKG_DESCR:= sandboxing and containment tool
11 PKG_SECTION:= sys/misc
12 PKG_DEPENDS:= libcap
13 PKG_BUILDDEP:= libcap
14 PKG_URL:= https://google.github.io/minijail/
15 PKG_SITES:= https://github.com/google/minijail/archive/refs/tags/
17 DISTFILES:= linux-$(PKG_VERSION).tar.gz
18 WRKDIST= ${WRKDIR}/${PKG_NAME}-linux-${PKG_VERSION}
20 include $(ADK_TOPDIR)/mk/package.mk
22 $(eval $(call PKG_template,MINIJAIL,minijail,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
24 CONFIG_STYLE:= manual
25 INSTALL_STYLE:= manual
27 minijail-install:
28 $(INSTALL_DIR) $(IDIR_MINIJAIL)/lib
29 $(CP) $(WRKBUILD)/libminijailpreload.so \
30 $(IDIR_MINIJAIL)/lib
31 $(INSTALL_DIR) $(IDIR_MINIJAIL)/lib
32 $(CP) $(WRKBUILD)/libminijail.so \
33 $(IDIR_MINIJAIL)/lib
34 $(INSTALL_DIR) $(IDIR_MINIJAIL)/usr/bin
35 $(INSTALL_BIN) $(WRKBUILD)/minijail0 \
36 $(IDIR_MINIJAIL)/usr/bin
38 include $(ADK_TOPDIR)/mk/pkg-bottom.mk