summaryrefslogtreecommitdiffstats
path: root/recipes-extended/upx/upx_git.bb
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2020-09-27 22:36:10 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-03-15 23:15:42 -0400
commit6cae8b8adf314bdba7bf8e1c4669657d588399aa (patch)
tree31688aba097d96d9d31bb114e67016d3cda19d35 /recipes-extended/upx/upx_git.bb
parent96224a4accbbc15e4053eccd84cd198d5b7255eb (diff)
downloadmeta-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.bb33
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 @@
1HOMEPAGE = "http://upx.sourceforge.net"
2SUMMARY = "Ultimate executable compressor."
3
4SRCREV = "4e1ae22a1a07be5135c68b25ff05058ae8ae48e1"
5SRC_URI = "gitsm://github.com/upx/upx;branch=devel"
6
7LICENSE = "GPLv2"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=353753597aa110e0ded3508408c6374a"
9
10DEPENDS = "zlib libucl xz"
11
12S = "${WORKDIR}/git"
13
14PV = "3.96+${SRCPV}"
15
16EXTRA_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
22SECURITY_CFLAGS = ""
23
24do_compile() {
25 oe_runmake -C src all
26}
27
28do_install_append() {
29 install -d ${D}${bindir}
30 install -m 755 ${B}/src/upx.out ${D}${bindir}/upx
31}
32
33BBCLASSEXTEND = "native"