diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-09-27 22:36:10 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-03-15 23:15:42 -0400 |
commit | 6cae8b8adf314bdba7bf8e1c4669657d588399aa (patch) | |
tree | 31688aba097d96d9d31bb114e67016d3cda19d35 /recipes-extended/upx/upx_git.bb | |
parent | 96224a4accbbc15e4053eccd84cd198d5b7255eb (diff) | |
download | meta-virtualization-6cae8b8adf314bdba7bf8e1c4669657d588399aa.tar.gz |
k3s: import version locked upx dependency
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/upx/upx_git.bb')
-rw-r--r-- | recipes-extended/upx/upx_git.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-extended/upx/upx_git.bb b/recipes-extended/upx/upx_git.bb new file mode 100644 index 00000000..b77e6589 --- /dev/null +++ b/recipes-extended/upx/upx_git.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | HOMEPAGE = "http://upx.sourceforge.net" | ||
2 | SUMMARY = "Ultimate executable compressor." | ||
3 | |||
4 | SRCREV = "4e1ae22a1a07be5135c68b25ff05058ae8ae48e1" | ||
5 | SRC_URI = "gitsm://github.com/upx/upx;branch=devel" | ||
6 | |||
7 | LICENSE = "GPLv2" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=353753597aa110e0ded3508408c6374a" | ||
9 | |||
10 | DEPENDS = "zlib libucl xz" | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | PV = "3.96+${SRCPV}" | ||
15 | |||
16 | EXTRA_OEMAKE += " \ | ||
17 | UPX_UCLDIR=${STAGING_DIR_TARGET} \ | ||
18 | UPX_LZMADIR=${STAGING_DIR_TARGET} \ | ||
19 | " | ||
20 | |||
21 | # FIXME: The build fails if security flags are enabled | ||
22 | SECURITY_CFLAGS = "" | ||
23 | |||
24 | do_compile() { | ||
25 | oe_runmake -C src all | ||
26 | } | ||
27 | |||
28 | do_install_append() { | ||
29 | install -d ${D}${bindir} | ||
30 | install -m 755 ${B}/src/upx.out ${D}${bindir}/upx | ||
31 | } | ||
32 | |||
33 | BBCLASSEXTEND = "native" | ||