1SUMMARY = "This is the set of GNU shar utilities." 2HOMEPAGE = "http://www.gnu.org/software/sharutils/" 3SECTION = "console/utils" 4LICENSE="GPL-3.0-or-later" 5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 6 7inherit gettext autotools update-alternatives 8 9SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ 10 file://0001-Fix-build-with-clang.patch \ 11 file://CVE-2018-1000097.patch \ 12 file://0001-Fix-build-with-recent-gettext.patch \ 13 file://0001-Fix-building-with-GCC-10.patch \ 14 file://0002-Do-not-include-lib-md5.c-into-src-shar.c.patch \ 15 file://0001-configure.ac-Check-and-define-intmax_t-type.patch \ 16 file://0001-libopts.m4-accept-POSIX_SHELL-from-the-environment-d.patch \ 17 " 18SRC_URI[sha256sum] = "ee336e68549664e7a19b117adf02edfdeac6307f22e5ba78baca457116914637" 19 20EXTRA_OECONF = "POSIX_SHELL=${base_bindir}/sh" 21 22do_install:append() { 23 if [ -e ${D}${libdir}/charset.alias ] 24 then 25 rm -rf ${D}${libdir}/charset.alias 26 rmdir --ignore-fail-on-non-empty ${D}${libdir} 27 fi 28} 29 30BBCLASSEXTEND = "native nativesdk" 31 32ALTERNATIVE:${PN} = "uudecode uuencode" 33ALTERNATIVE_LINK_NAME[uudecode] = "${bindir}/uudecode" 34ALTERNATIVE_LINK_NAME[uuencode] = "${bindir}/uuencode" 35