summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorHongjun.Yang <hongjun.yang@windriver.com>2014-10-24 18:05:04 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-10-30 09:00:08 +0100
commitabee7c6d988c2513c028e455a28e8c4ce23c10c8 (patch)
tree45493ddebb178b8dc71d277fd8e600eeeb564880 /meta-oe/recipes-support
parent96446b411705ff48e5d1857777ff0cb5284cdd51 (diff)
downloadmeta-openembedded-abee7c6d988c2513c028e455a28e8c4ce23c10c8.tar.gz
sharutils: Add new package
Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/sharutils/sharutils-4.14/fix-for-cross-compiling.patch29
-rw-r--r--meta-oe/recipes-support/sharutils/sharutils_4.14.bb18
2 files changed, 47 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/sharutils/sharutils-4.14/fix-for-cross-compiling.patch b/meta-oe/recipes-support/sharutils/sharutils-4.14/fix-for-cross-compiling.patch
new file mode 100644
index 000000000..86a7da63c
--- /dev/null
+++ b/meta-oe/recipes-support/sharutils/sharutils-4.14/fix-for-cross-compiling.patch
@@ -0,0 +1,29 @@
1From 990234af84a5399017d1c4fe03c5c756a8e51e23 Mon Sep 17 00:00:00 2001
2From: Hongjun Yang <Hongjun.Yang@windriver.com>
3Date: Tue, 20 Aug 2013 09:41:43 +0800
4Subject: [PATCH] fix cross compiling issue
5
6Upstream-Status: Pending
7
8Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com>
9
10---
11 configure | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/configure b/configure
15index 6ee98e0..8067f54 100755
16--- a/configure
17+++ b/configure
18@@ -26965,7 +26965,7 @@ fi
19 if test "$cross_compiling" = yes; then :
20 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22-as_fn_error $? "cannot run test program while cross compiling
23+$as_echo "cannot run test program while cross compiling
24 See \`config.log' for more details" "$LINENO" 5; }
25 else
26 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27--
281.8.1.4
29
diff --git a/meta-oe/recipes-support/sharutils/sharutils_4.14.bb b/meta-oe/recipes-support/sharutils/sharutils_4.14.bb
new file mode 100644
index 000000000..49981e7f7
--- /dev/null
+++ b/meta-oe/recipes-support/sharutils/sharutils_4.14.bb
@@ -0,0 +1,18 @@
1SUMMARY = "This is the set of GNU shar utilities."
2HOMEPAGE = "http://www.gnu.org/software/sharutils/"
3SECTION = "console/utils"
4LICENSE="GPLv3+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6
7inherit gettext autotools-brokensep
8
9SRC_URI = "ftp://ftp.gnu.org/gnu/sharutils/sharutils-4.14.tar.gz \
10 file://fix-for-cross-compiling.patch \
11 "
12
13SRC_URI[md5sum] = "5686c11131b4c4c0841f8f3ef34d136a"
14SRC_URI[sha256sum] = "90f5107c167cfd1b299bb211828d2586471087863dbed698f53109cd5f717208"
15
16do_configure () {
17 oe_runconf
18}