mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
a9befa4413
The project appears to have moved.
Update HOMEPAGE and SRC_URI. bz2 is not available, use gz
Update HASH accordingly.
Fixes:
WARNING: enca-1.9-r0 do_fetch: Failed to fetch URL http://www.sourcefiles.org/Networking/Tools/Miscellanenous/enca-1.9.tar.bz2, attempting MIRRORS if available
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 460077d30f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
37 lines
986 B
BlitzBasic
37 lines
986 B
BlitzBasic
SUMMARY = "Enca is an Extremely Naive Charset Analyser"
|
|
SECTION = "libs"
|
|
HOMEPAGE = "https://cihar.com/software/enca/"
|
|
|
|
DEPENDS += "gettext-native"
|
|
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=24b9569831c46d4818450b55282476b4"
|
|
|
|
SRC_URI = "https://dl.cihar.com/enca/enca-${PV}.tar.gz \
|
|
file://configure-hack.patch \
|
|
file://dont-run-tests.patch \
|
|
file://configure-remove-dumbness.patch \
|
|
file://makefile-remove-tools.patch \
|
|
file://libenca-003-iconv.patch "
|
|
|
|
SRC_URI[sha256sum] = "75a38ed23bac37cc12166cc5edc8335c3af862adc202f84823d3aef3e2208e47"
|
|
|
|
inherit autotools
|
|
|
|
do_configure_prepend() {
|
|
# remove failing test which checks for something that isn't even used
|
|
sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' ${S}/configure.ac
|
|
}
|
|
|
|
do_configure_append() {
|
|
sed -i s:-I/usr/include::g ${B}/Makefile
|
|
sed -i s:-I/usr/include::g ${B}/*/Makefile
|
|
}
|
|
|
|
do_compile() {
|
|
cd ${S}/tools && ${BUILD_CC} -o make_hash make_hash.c
|
|
cd ${B}
|
|
oe_runmake
|
|
}
|
|
|