Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | SUMMARY = "This is the set of GNU shar utilities." |
| 2 | HOMEPAGE = "http://www.gnu.org/software/sharutils/" |
| 3 | SECTION = "console/utils" |
| 4 | LICENSE="GPLv3+" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 6 | |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 7 | inherit gettext autotools update-alternatives |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 8 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 9 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 10 | file://0001-Fix-build-with-clang.patch \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 11 | file://CVE-2018-1000097.patch \ |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 12 | file://0001-Fix-build-with-recent-gettext.patch \ |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 13 | file://0001-Fix-building-with-GCC-10.patch \ |
| 14 | file://0002-Do-not-include-lib-md5.c-into-src-shar.c.patch \ |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 15 | " |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 16 | SRC_URI[md5sum] = "32a51b23e25ad5e6af4b89f228be1800" |
| 17 | SRC_URI[sha256sum] = "ee336e68549664e7a19b117adf02edfdeac6307f22e5ba78baca457116914637" |
| 18 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 19 | do_install:append() { |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 20 | 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 Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 26 | |
| 27 | BBCLASSEXTEND = "native nativesdk" |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 28 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 29 | ALTERNATIVE:${PN} = "uudecode uuencode" |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 30 | ALTERNATIVE_LINK_NAME[uudecode] = "${bindir}/uudecode" |
| 31 | ALTERNATIVE_LINK_NAME[uuencode] = "${bindir}/uuencode" |