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
9 PKG_HASH
:= 1ee5a5916491a32c121c7422b4d8c16481c0396a3acab34bf1c44589dcf810ae
10 PKG_DESCR
:= sandboxing and containment tool
11 PKG_SECTION
:= sys
/misc
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
)))
25 INSTALL_STYLE
:= manual
28 $(INSTALL_DIR
) $(IDIR_MINIJAIL
)/lib
29 $(CP
) $(WRKBUILD
)/libminijailpreload.so \
31 $(INSTALL_DIR
) $(IDIR_MINIJAIL
)/lib
32 $(CP
) $(WRKBUILD
)/libminijail.so \
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