meta-openembedded/meta-oe/recipes-support/enca/enca_1.19.bb
Khem Raj 32eb262643
enca: Fix cross builds
Some portions are built using host CC, which
is important when doing cross compile to pass correct flags
otherwise it fails when using newer host compiler e.g. gcc-14

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-15 23:05:32 -07:00

21 lines
638 B
BlitzBasic

SUMMARY = "Enca is an Extremely Naive Charset Analyser"
SECTION = "libs"
HOMEPAGE = "https://cihar.com/software/enca/"
DEPENDS += "gettext-native autoconf-archive-native"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=24b9569831c46d4818450b55282476b4"
SRC_URI = "https://dl.cihar.com/enca/enca-${PV}.tar.gz \
file://cross.patch \
file://dont-run-tests.patch \
file://libenca-003-iconv.patch \
file://0001-Do-not-use-MKTEMP_PROG-in-cross-build.patch \
"
SRC_URI[sha256sum] = "4c305cc59f3e57f2cfc150a6ac511690f43633595760e1cb266bf23362d72f8a"
inherit autotools
EXTRA_OECONF += "MKTEMP_PROG=mktemp"