diff options
-rw-r--r-- | meta-lsb/packages/mktemp/files/disable-strip.patch | 13 | ||||
-rw-r--r-- | meta-lsb/packages/mktemp/mktemp_1.7.bb | 26 |
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-lsb/packages/mktemp/files/disable-strip.patch b/meta-lsb/packages/mktemp/files/disable-strip.patch new file mode 100644 index 0000000000..d6bc528a21 --- /dev/null +++ b/meta-lsb/packages/mktemp/files/disable-strip.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | diff --git a/Makefile.in b/Makefile.in | ||
2 | index 37b3cc9..f1026f3 100644 | ||
3 | --- a/Makefile.in | ||
4 | +++ b/Makefile.in | ||
5 | @@ -95,7 +95,7 @@ install-dirs: | ||
6 | $(DESTDIR)$(mandir)/man1 | ||
7 | |||
8 | install-binaries: $(PROG) | ||
9 | - $(INSTALL) -m 0555 -s $(PROG) $(DESTDIR)$(bindir)/$(PROG) | ||
10 | + $(INSTALL) -m 0555 $(PROG) $(DESTDIR)$(bindir)/$(PROG) | ||
11 | |||
12 | install-man: | ||
13 | $(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) \ | ||
diff --git a/meta-lsb/packages/mktemp/mktemp_1.7.bb b/meta-lsb/packages/mktemp/mktemp_1.7.bb new file mode 100644 index 0000000000..a34827450c --- /dev/null +++ b/meta-lsb/packages/mktemp/mktemp_1.7.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | DESCRIPTION = "Allow 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 style" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=430680f6322a1eb87199b5e01a82c0d4" | ||
7 | |||
8 | PR = "r0" | ||
9 | |||
10 | SRC_URI = "ftp://ftp.mktemp.org/pub/mktemp/${P}.tar.gz \ | ||
11 | file://disable-strip.patch \ | ||
12 | " | ||
13 | |||
14 | inherit autotools update-alternatives | ||
15 | |||
16 | EXTRA_OECONF = "--with-libc" | ||
17 | |||
18 | do_install_append () { | ||
19 | mkdir ${D}${base_bindir} | ||
20 | mv ${D}${bindir}/mktemp ${D}${base_bindir}/mktemp.${PN} | ||
21 | } | ||
22 | |||
23 | ALTERNATIVE_NAME = "mktemp" | ||
24 | ALTERNATIVE_LINK = "${base_bindir}/mktemp" | ||
25 | ALTERNATIVE_PATH = "${base_bindir}/mktemp.${PN}" | ||
26 | ALTERNATIVE_PRIORITY = "100" | ||