diff mbox series

[meta-oe,v2] parallel: Add recipe for GUN Parallel

Message ID 20241106103614.281919-1-peng.zhang1.cn@windriver.com
State Under Review
Headers show
Series [meta-oe,v2] parallel: Add recipe for GUN Parallel | expand

Commit Message

Peng Zhang Nov. 6, 2024, 10:36 a.m. UTC
From: Zhang Peng <peng.zhang1.cn@windriver.com>

This recipe adds the parallel package, a shell tool for executing jobs
in parallel using one or more computers.

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
---
 .../parallel/parallel_20241022.bb             | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-oe/recipes-extended/parallel/parallel_20241022.bb

Comments

Fabio Estevam Nov. 6, 2024, 10:38 a.m. UTC | #1
On Wed, Nov 6, 2024 at 7:36 AM Zhang, Peng (Paul) (CN) via
lists.openembedded.org
<peng.zhang1.cn=windriver.com@lists.openembedded.org> wrote:
>
> From: Zhang Peng <peng.zhang1.cn@windriver.com>
>
> This recipe adds the parallel package, a shell tool for executing jobs
> in parallel using one or more computers.
>
> Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>

There is a typo in the Subject: GUN -> GNU.
Peng Zhang Nov. 6, 2024, 11:01 a.m. UTC | #2
在 11/6/24 18:38, Fabio Estevam 写道:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
> On Wed, Nov 6, 2024 at 7:36 AM Zhang, Peng (Paul) (CN) via
> lists.openembedded.org
> <peng.zhang1.cn=windriver.com@lists.openembedded.org> wrote:
>> From: Zhang Peng <peng.zhang1.cn@windriver.com>
>>
>> This recipe adds the parallel package, a shell tool for executing jobs
>> in parallel using one or more computers.
>>
>> Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
> There is a typo in the Subject: GUN -> GNU.

Thanks very much, corrected v3 sent.

//peng
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/parallel/parallel_20241022.bb b/meta-oe/recipes-extended/parallel/parallel_20241022.bb
new file mode 100644
index 000000000..e3cf0a6a7
--- /dev/null
+++ b/meta-oe/recipes-extended/parallel/parallel_20241022.bb
@@ -0,0 +1,29 @@ 
+SUMMARY = "GNU Parallel - A shell tool for executing jobs in parallel using one or more computers"
+DESCRIPTION = "GNU Parallel is a command-line tool for executing jobs in parallel on one or more computers. \
+It allows users to run multiple commands simultaneously, making it easier to process large batches of tasks."
+
+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\
+"
+
+SRC_URI = "https://ftp.gnu.org/gnu/parallel/parallel-${PV}.tar.bz2"
+SRC_URI[sha256sum] = "6de22bf1c67f7f316670d21ed1a2a32f1214dfbd3e420939ba937925c0a57a12"
+
+inherit autotools bash-completion
+
+DEPENDS += "perl"
+
+RDEPENDS:${PN} += "perl \
+        perl-module-ipc-open3 \
+        perl-module-getopt-long \
+        perl-module-file-temp \
+        perl-module-filehandle \
+        perl-module-file-glob \
+"
+do_install:append() {
+    rm -rf ${D}${datadir}/zsh
+}