mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-05 05:15:25 +02:00

These changes are the result of running the convert-spdx-licenses.py oe-core script. There's no impact to the build, but we will avoid issues when interacting with core QA by the alignment. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
36 lines
811 B
BlitzBasic
36 lines
811 B
BlitzBasic
HOMEPAGE = "http://upx.sourceforge.net"
|
|
SUMMARY = "Ultimate executable compressor."
|
|
|
|
SRCREV = "4e1ae22a1a07be5135c68b25ff05058ae8ae48e1"
|
|
SRC_URI = "gitsm://github.com/upx/upx;branch=devel;protocol=https \
|
|
file://0001-MyCom.h-fix-build-with-gcc-11.patch;patchdir=src/lzma-sdk \
|
|
"
|
|
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=353753597aa110e0ded3508408c6374a"
|
|
|
|
DEPENDS = "zlib libucl xz"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
PV = "3.96+${SRCPV}"
|
|
|
|
EXTRA_OEMAKE += " \
|
|
UPX_UCLDIR=${STAGING_DIR_TARGET} \
|
|
UPX_LZMADIR=${STAGING_DIR_TARGET} \
|
|
"
|
|
|
|
# FIXME: The build fails if security flags are enabled
|
|
SECURITY_CFLAGS = ""
|
|
|
|
do_compile() {
|
|
oe_runmake -C src all
|
|
}
|
|
|
|
do_install:append() {
|
|
install -d ${D}${bindir}
|
|
install -m 755 ${B}/src/upx.out ${D}${bindir}/upx
|
|
}
|
|
|
|
BBCLASSEXTEND = "native"
|