diff options
| author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2021-02-23 02:57:14 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-02-21 23:44:22 -0800 |
| commit | ec78fd0a32cb0bf15c8cd574e63b30cb22d3f182 (patch) | |
| tree | 5c5405f754f2099e93c344d8d891a3dcbdebe7b1 /meta-oe/recipes-support/enca/enca_1.19.bb | |
| parent | 8df1a9aa65adf102ee8878eee618940de496a3f4 (diff) | |
| download | meta-openembedded-ec78fd0a32cb0bf15c8cd574e63b30cb22d3f182.tar.gz | |
enca: upgrade 1.9 -> 1.19
configure-hack.patch
configure-remove-dumbness.patch
Removed since these are included in 1.19.
Refresh the following patch:
libenca-003-iconv.patch
makefile-remove-tools.patch
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/enca/enca_1.19.bb')
| -rw-r--r-- | meta-oe/recipes-support/enca/enca_1.19.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/enca/enca_1.19.bb b/meta-oe/recipes-support/enca/enca_1.19.bb new file mode 100644 index 0000000000..0adf0a29c5 --- /dev/null +++ b/meta-oe/recipes-support/enca/enca_1.19.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | SUMMARY = "Enca is an Extremely Naive Charset Analyser" | ||
| 2 | SECTION = "libs" | ||
| 3 | HOMEPAGE = "https://cihar.com/software/enca/" | ||
| 4 | |||
| 5 | DEPENDS += "gettext-native" | ||
| 6 | |||
| 7 | LICENSE = "GPLv2" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=24b9569831c46d4818450b55282476b4" | ||
| 9 | |||
| 10 | SRC_URI = "https://dl.cihar.com/enca/enca-${PV}.tar.gz \ | ||
| 11 | file://dont-run-tests.patch \ | ||
| 12 | file://makefile-remove-tools.patch \ | ||
| 13 | file://libenca-003-iconv.patch " | ||
| 14 | |||
| 15 | SRC_URI[sha256sum] = "4c305cc59f3e57f2cfc150a6ac511690f43633595760e1cb266bf23362d72f8a" | ||
| 16 | |||
| 17 | inherit autotools | ||
| 18 | |||
| 19 | do_configure_prepend() { | ||
| 20 | # remove failing test which checks for something that isn't even used | ||
| 21 | sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' ${S}/configure.ac | ||
| 22 | } | ||
| 23 | |||
| 24 | do_configure_append() { | ||
| 25 | sed -i s:-I/usr/include::g ${B}/Makefile | ||
| 26 | sed -i s:-I/usr/include::g ${B}/*/Makefile | ||
| 27 | } | ||
| 28 | |||
| 29 | do_compile() { | ||
| 30 | cd ${S}/tools && ${BUILD_CC} -o make_hash make_hash.c | ||
| 31 | cd ${B} | ||
| 32 | oe_runmake | ||
| 33 | } | ||
| 34 | |||
