citadel/meta-citadel/recipes-support/minijail/minijail_git.bb

55 lines
1.9 KiB
BlitzBasic
Raw Normal View History

# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)
SUMMARY = "A set of tools for Minijail"
HOMEPAGE = "https://google.github.io/minijail/"
# NOTE: License in setup.py/PKGINFO is: Apache License 2.0
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
# your responsibility to verify that the values are complete and correct.
#
# The following license files were not able to be identified and are
# represented as "Unknown" below, you will need to check them yourself:
# LICENSE
# NOTE: Original package / source metadata indicates license is: Apache-2.0
#
# NOTE: multiple licenses have been detected; they have been separated with &
# in the LICENSE value for now since it is a reasonable assumption that all
# of the licenses apply. If instead there is a choice between the multiple
# licenses then you should change the value to separate the licenses with |
# instead of &. If there is any doubt, check the accompanying documentation
# to determine which situation is applicable.
LICENSE = "Apache-2.0 & Proprietary"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2089bcf649ce83dde9493f497237833a \
file://MODULE_LICENSE_BSD;md5=d41d8cd98f00b204e9800998ecf8427e"
SRC_URI = "git://github.com/google/minijail.git;protocol=https;branch=main"
# Modify these as desired
PV = "0.12+git"
SRCREV = "3ce72e092f1ea94edc74545cd29df297e503d4fa"
S = "${WORKDIR}/git"
DEPENDS = "libcap"
do_configure () {
:
}
do_compile () {
oe_runmake LIBDIR=${libdir}
}
do_install () {
install -d ${D}${libdir}
install -d ${D}${libexecdir}
install -m 0755 ${S}/libminijail.so ${D}${libdir}
install -m 0755 ${S}/libminijailpreload.so ${D}${libdir}
install -m 0755 ${S}/minijail0 ${D}${libexecdir}
}
FILES:${PN}-dev = ""
FILES:${PN} = "/"