blob: 381958051b20306de7305b4ea66d9ff6429b673e [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001SUMMARY = "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
Andrew Geisslerd688a012020-09-18 13:36:00 -05007inherit gettext autotools update-alternatives
Brad Bishop6e60e8b2018-02-01 10:27:11 -05008
Brad Bishop26bdd442019-08-16 17:08:17 -04009SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010 file://0001-Fix-build-with-clang.patch \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080011 file://CVE-2018-1000097.patch \
Brad Bishope42b3e32020-01-15 22:08:42 -050012 file://0001-Fix-build-with-recent-gettext.patch \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050013 file://0001-Fix-building-with-GCC-10.patch \
14 file://0002-Do-not-include-lib-md5.c-into-src-shar.c.patch \
Brad Bishope42b3e32020-01-15 22:08:42 -050015 "
Brad Bishop6e60e8b2018-02-01 10:27:11 -050016SRC_URI[md5sum] = "32a51b23e25ad5e6af4b89f228be1800"
17SRC_URI[sha256sum] = "ee336e68549664e7a19b117adf02edfdeac6307f22e5ba78baca457116914637"
18
Patrick Williams213cb262021-08-07 19:21:33 -050019do_install:append() {
Brad Bishop6e60e8b2018-02-01 10:27:11 -050020 if [ -e ${D}${libdir}/charset.alias ]
21 then
22 rm -rf ${D}${libdir}/charset.alias
23 rmdir --ignore-fail-on-non-empty ${D}${libdir}
24 fi
25}
Brad Bishop19323692019-04-05 15:28:33 -040026
27BBCLASSEXTEND = "native nativesdk"
Andrew Geisslerd688a012020-09-18 13:36:00 -050028
Patrick Williams213cb262021-08-07 19:21:33 -050029ALTERNATIVE:${PN} = "uudecode uuencode"
Andrew Geisslerd688a012020-09-18 13:36:00 -050030ALTERNATIVE_LINK_NAME[uudecode] = "${bindir}/uudecode"
31ALTERNATIVE_LINK_NAME[uuencode] = "${bindir}/uuencode"