added my Recipes
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From c6a59d512706978e8c67f9a2d84ec650f8763368 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 8 May 2023 18:02:52 -0700
|
||||
Subject: [PATCH] Do not use $MKTEMP_PROG in cross-build
|
||||
|
||||
$MKTEMP_PROG points to native location which could be absolute path that
|
||||
wont exist on target rootfs. Therefore use it from PATH
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 4852a2f..d23b384 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -186,7 +186,7 @@ ye_PATH_LOCALE_ALIAS
|
||||
|
||||
dnl Random filename generation in scripts
|
||||
if test -n "$MKTEMP_PROG"; then
|
||||
- SHELL_RANDOM_FILENAME='`'$MKTEMP_PROG' /tmp/enca-$$-XXXXXXXX`'
|
||||
+ SHELL_RANDOM_FILENAME='`mktemp /tmp/enca-$$-XXXXXXXX`'
|
||||
else
|
||||
SHELL_RANDOM_FILENAME='/tmp/enca-$$-$RANDOM'
|
||||
fi
|
||||
--
|
||||
2.40.1
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
Index: enca-1.9/Makefile.am
|
||||
===================================================================
|
||||
--- enca-1.9.orig/Makefile.am 2005-11-24 11:21:32.000000000 +0100
|
||||
+++ enca-1.9/Makefile.am 2006-04-11 11:14:21.832502904 +0200
|
||||
@@ -2,7 +2,7 @@
|
||||
if MAINTAINER_MODE
|
||||
SUBDIRS = tools data script lib src devel-docs test
|
||||
else
|
||||
-SUBDIRS = tools script lib src devel-docs test
|
||||
+SUBDIRS = tools script lib src devel-docs
|
||||
endif
|
||||
man_MANS = man/enca.1
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
From 7e144495093187143a3d1589f74c2eac37e4d790 Mon Sep 17 00:00:00 2001
|
||||
From: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
|
||||
Date: Sun, 4 May 2014 15:49:28 +0200
|
||||
Subject: [PATCH] libiconv.m4: Fix AM_ICONV macro usage
|
||||
|
||||
This patch come straight from the Buildroot source tree.
|
||||
|
||||
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
|
||||
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
|
||||
---
|
||||
m4/libiconv.m4 | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/m4/libiconv.m4 b/m4/libiconv.m4
|
||||
index fc8c6f8..3a59549 100644
|
||||
--- a/m4/libiconv.m4
|
||||
+++ b/m4/libiconv.m4
|
||||
@@ -17,7 +17,7 @@ AC_REQUIRE([AC_C_CONST])dnl
|
||||
dnl
|
||||
|
||||
dnl Use standard iconv test
|
||||
-AM_ICONV
|
||||
+m4_pattern_allow([AM_ICONV])
|
||||
CONVERTER_LIBS="$CONVERTER_LIBS $LIBICONV"
|
||||
|
||||
dnl Compile iconvcap.c and run it to determine what encodings iconv actually
|
||||
--
|
||||
1.9.3
|
||||
@@ -0,0 +1,12 @@
|
||||
--- enca-1.19/Makefile.am.orig 2006-06-29 15:34:55.000000000 +0100
|
||||
+++ enca-1.19/Makefile.am 2006-06-29 15:35:20.000000000 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
if MAINTAINER_MODE
|
||||
-SUBDIRS = tools data script lib src devel-docs test
|
||||
+SUBDIRS = data script lib src devel-docs test
|
||||
else
|
||||
-SUBDIRS = tools script lib src devel-docs
|
||||
+SUBDIRS = script lib src devel-docs
|
||||
endif
|
||||
man_MANS = man/enca.1
|
||||
|
||||
34
meta-openembedded/meta-oe/recipes-support/enca/enca_1.19.bb
Normal file
34
meta-openembedded/meta-oe/recipes-support/enca/enca_1.19.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "Enca is an Extremely Naive Charset Analyser"
|
||||
SECTION = "libs"
|
||||
HOMEPAGE = "https://cihar.com/software/enca/"
|
||||
|
||||
DEPENDS += "gettext-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://dont-run-tests.patch \
|
||||
file://makefile-remove-tools.patch \
|
||||
file://libenca-003-iconv.patch \
|
||||
file://0001-Do-not-use-MKTEMP_PROG-in-cross-build.patch"
|
||||
SRC_URI[sha256sum] = "4c305cc59f3e57f2cfc150a6ac511690f43633595760e1cb266bf23362d72f8a"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user