blob: 2a16b18288fd75a19db3d8b5583927407803209d [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"
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE="GPL-3.0-or-later"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05005LIC_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 \
Andrew Geissler220dafd2023-10-04 10:18:08 -050015 file://0001-configure.ac-Check-and-define-intmax_t-type.patch \
Brad Bishope42b3e32020-01-15 22:08:42 -050016 "
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017SRC_URI[md5sum] = "32a51b23e25ad5e6af4b89f228be1800"
18SRC_URI[sha256sum] = "ee336e68549664e7a19b117adf02edfdeac6307f22e5ba78baca457116914637"
19
Patrick Williams213cb262021-08-07 19:21:33 -050020do_install:append() {
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021 if [ -e ${D}${libdir}/charset.alias ]
22 then
23 rm -rf ${D}${libdir}/charset.alias
24 rmdir --ignore-fail-on-non-empty ${D}${libdir}
25 fi
26}
Brad Bishop19323692019-04-05 15:28:33 -040027
28BBCLASSEXTEND = "native nativesdk"
Andrew Geisslerd688a012020-09-18 13:36:00 -050029
Patrick Williams213cb262021-08-07 19:21:33 -050030ALTERNATIVE:${PN} = "uudecode uuencode"
Andrew Geisslerd688a012020-09-18 13:36:00 -050031ALTERNATIVE_LINK_NAME[uudecode] = "${bindir}/uudecode"
32ALTERNATIVE_LINK_NAME[uuencode] = "${bindir}/uuencode"