parallel: Package zsh-completions and extend to native recipe

Add missing perl modules in rdeps

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2024-11-19 13:25:22 -08:00
parent c8a35cf5e2
commit 4257475e84
@@ -5,25 +5,35 @@ It allows users to run multiple commands simultaneously, making it easier to pro
HOMEPAGE = "https://www.gnu.org/software/parallel/"
LICENSE = "CC-BY-SA-4.0 & GFDL-1.3-or-later & GPL-3.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSES/GPL-3.0-or-later.txt;md5=8da5784ab1c72e63ac74971f88658166 \
file://LICENSES/CC-BY-SA-4.0.txt;md5=7130783469368ceb248a4f03e89ea4b8\
file://LICENSES/GFDL-1.3-or-later.txt;md5=e0771ae6a62dc8a2e50b1d450fea66b7\
LIC_FILES_CHKSUM = " \
file://LICENSES/CC-BY-SA-4.0.txt;md5=7130783469368ceb248a4f03e89ea4b8 \
file://LICENSES/GFDL-1.3-or-later.txt;md5=e0771ae6a62dc8a2e50b1d450fea66b7 \
file://LICENSES/GPL-3.0-or-later.txt;md5=8da5784ab1c72e63ac74971f88658166 \
"
SRC_URI = "https://ftp.gnu.org/gnu/parallel/parallel-${PV}.tar.bz2"
SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2"
SRC_URI[sha256sum] = "6de22bf1c67f7f316670d21ed1a2a32f1214dfbd3e420939ba937925c0a57a12"
inherit autotools bash-completion
DEPENDS += "perl"
PACKAGES += "${PN}-zsh-completion"
FILES:${PN}-zsh-completion = "${datadir}/zsh"
RDEPENDS:${PN} += "perl \
perl-module-ipc-open3 \
perl-module-getopt-long \
perl-module-file-temp \
perl-module-filehandle \
perl-module-file-glob \
RDEPENDS:${PN} = " \
perl \
perl-module-file-basename \
perl-module-file-glob \
perl-module-file-path \
perl-module-file-temp \
perl-module-filehandle \
perl-module-getopt-long \
perl-module-io-select \
perl-module-ipc-open3 \
perl-module-posix \
perl-module-symbol \
perl-module-thread-queue \
perl-module-threads \
perl-module-threads-shared \
"
do_install:append() {
rm -rf ${D}${datadir}/zsh
}
BBCLASSEXTEND = "native"