diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-extended/mktemp | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-extended/mktemp')
-rw-r--r-- | meta/recipes-extended/mktemp/files/disable-strip.patch | 15 | ||||
-rw-r--r-- | meta/recipes-extended/mktemp/files/fix-parallel-make.patch | 24 | ||||
-rw-r--r-- | meta/recipes-extended/mktemp/mktemp_1.7.bb | 30 |
3 files changed, 69 insertions, 0 deletions
diff --git a/meta/recipes-extended/mktemp/files/disable-strip.patch b/meta/recipes-extended/mktemp/files/disable-strip.patch new file mode 100644 index 0000000000..e06869e3ad --- /dev/null +++ b/meta/recipes-extended/mktemp/files/disable-strip.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | diff --git a/Makefile.in b/Makefile.in | ||
4 | index 37b3cc9..f1026f3 100644 | ||
5 | --- a/Makefile.in | ||
6 | +++ b/Makefile.in | ||
7 | @@ -95,7 +95,7 @@ install-dirs: | ||
8 | $(DESTDIR)$(mandir)/man1 | ||
9 | |||
10 | install-binaries: $(PROG) | ||
11 | - $(INSTALL) -m 0555 -s $(PROG) $(DESTDIR)$(bindir)/$(PROG) | ||
12 | + $(INSTALL) -m 0555 $(PROG) $(DESTDIR)$(bindir)/$(PROG) | ||
13 | |||
14 | install-man: | ||
15 | $(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) \ | ||
diff --git a/meta/recipes-extended/mktemp/files/fix-parallel-make.patch b/meta/recipes-extended/mktemp/files/fix-parallel-make.patch new file mode 100644 index 0000000000..f3b6dcc34a --- /dev/null +++ b/meta/recipes-extended/mktemp/files/fix-parallel-make.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | This fixes the parallel make install failure | ||
2 | |||
3 | Upstream-Status: Accepted | ||
4 | http://www.gratisoft.us/bugzilla/show_bug.cgi?id=528 | ||
5 | |||
6 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
7 | |||
8 | Index: mktemp-1.7/Makefile.in | ||
9 | =================================================================== | ||
10 | --- mktemp-1.7.orig/Makefile.in | ||
11 | +++ mktemp-1.7/Makefile.in | ||
12 | @@ -94,10 +94,10 @@ install-dirs: | ||
13 | $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \ | ||
14 | $(DESTDIR)$(mandir)/man1 | ||
15 | |||
16 | -install-binaries: $(PROG) | ||
17 | +install-binaries: install-dirs $(PROG) | ||
18 | $(INSTALL) -m 0555 $(PROG) $(DESTDIR)$(bindir)/$(PROG) | ||
19 | |||
20 | -install-man: | ||
21 | +install-man: install-dirs | ||
22 | $(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) \ | ||
23 | $(DESTDIR)$(mandir)/man1/mktemp.1 | ||
24 | |||
diff --git a/meta/recipes-extended/mktemp/mktemp_1.7.bb b/meta/recipes-extended/mktemp/mktemp_1.7.bb new file mode 100644 index 0000000000..b53fc11b1e --- /dev/null +++ b/meta/recipes-extended/mktemp/mktemp_1.7.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "Enables safe temporary file creation from shell scripts" | ||
2 | HOMEPAGE = "http://www.mktemp.org/" | ||
3 | BUGTRACKER = "http://www.mktemp.org/bugs" | ||
4 | SECTION = "console/utils" | ||
5 | LICENSE = "ISC" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=430680f6322a1eb87199b5e01a82c0d4" | ||
7 | |||
8 | PR = "r3" | ||
9 | |||
10 | SRC_URI = "ftp://ftp.mktemp.org/pub/mktemp/${BPN}-${PV}.tar.gz \ | ||
11 | file://disable-strip.patch \ | ||
12 | file://fix-parallel-make.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[md5sum] = "787bbed9fa2ee8e7645733c0e8e65172" | ||
16 | SRC_URI[sha256sum] = "8e94b9e1edf866b2609545da65b627996ac5d158fda071e492bddb2f4a482675" | ||
17 | |||
18 | inherit autotools update-alternatives | ||
19 | |||
20 | EXTRA_OECONF = "--with-libc" | ||
21 | |||
22 | do_install_append () { | ||
23 | install -d ${D}${base_bindir} | ||
24 | mv ${D}${bindir}/mktemp ${D}${base_bindir}/mktemp | ||
25 | rmdir ${D}${bindir} | ||
26 | } | ||
27 | |||
28 | ALTERNATIVE_${PN} = "mktemp" | ||
29 | ALTERNATIVE_LINK_NAME[mktemp] = "${base_bindir}/mktemp" | ||
30 | ALTERNATIVE_PRIORITY = "100" | ||