2024-09-09 08:57:42 +00:00
|
|
|
SUMMARY = "Enables safe temporary file creation from shell scripts"
|
2024-09-09 08:52:07 +00:00
|
|
|
HOMEPAGE = "http://www.mktemp.org/"
|
|
|
|
BUGTRACKER = "http://www.mktemp.org/bugs"
|
|
|
|
SECTION = "console/utils"
|
|
|
|
LICENSE = "ISC"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=430680f6322a1eb87199b5e01a82c0d4"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
PR = "r3"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
SRC_URI = "ftp://ftp.mktemp.org/pub/mktemp/${BPN}-${PV}.tar.gz \
|
|
|
|
file://disable-strip.patch \
|
|
|
|
file://fix-parallel-make.patch \
|
|
|
|
"
|
|
|
|
|
|
|
|
SRC_URI[md5sum] = "787bbed9fa2ee8e7645733c0e8e65172"
|
|
|
|
SRC_URI[sha256sum] = "8e94b9e1edf866b2609545da65b627996ac5d158fda071e492bddb2f4a482675"
|
|
|
|
|
|
|
|
inherit autotools update-alternatives
|
|
|
|
|
|
|
|
EXTRA_OECONF = "--with-libc"
|
|
|
|
|
|
|
|
do_install_append () {
|
2024-09-09 08:57:42 +00:00
|
|
|
install -d ${D}${base_bindir}
|
|
|
|
mv ${D}${bindir}/mktemp ${D}${base_bindir}/mktemp
|
|
|
|
rmdir ${D}${bindir}
|
2024-09-09 08:52:07 +00:00
|
|
|
}
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
ALTERNATIVE_${PN} = "mktemp"
|
|
|
|
ALTERNATIVE_LINK_NAME[mktemp] = "${base_bindir}/mktemp"
|
2024-09-09 08:52:07 +00:00
|
|
|
ALTERNATIVE_PRIORITY = "100"
|