From 1bff40edfa3b20bc3b0acb1bab3fb378a6342eb8 Mon Sep 17 00:00:00 2001 From: Shota Tobe Date: Tue, 3 Feb 2026 00:07:15 +0000 Subject: [PATCH] gengetopt: Add a gengetopt recipe Add gengetopt as it is a build dependency of libidn2. Backport from warrior branch of . Signed-off-by: Shota Tobe --- recipes-debian/gengetopt/gengetopt_debian.bb | 21 ++++++++++++++++++++ recipes-debian/sources/gengetopt.inc | 19 ++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 recipes-debian/gengetopt/gengetopt_debian.bb create mode 100644 recipes-debian/sources/gengetopt.inc diff --git a/recipes-debian/gengetopt/gengetopt_debian.bb b/recipes-debian/gengetopt/gengetopt_debian.bb new file mode 100644 index 00000000..22b0587f --- /dev/null +++ b/recipes-debian/gengetopt/gengetopt_debian.bb @@ -0,0 +1,21 @@ +# base recipe: meta-phytec/recipes-support/gengetopt/gengetopt_2.22.6.bb +# base branch: warrior + +SUMMARY = "skeleton main.c generator" +DESCRIPTION = "Gengetopt is a tool to write command line option parsing code for C programs." +SECTION = "utils" +HOMEPAGE = "https://www.gnu.org/software/gengetopt/gengetopt.html" + +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://COPYING;md5=ff95bfe019feaf92f524b73dd79e76eb" + +inherit debian-package +require recipes-debian/sources/gengetopt.inc + +DEBIAN_UNPACK_DIR = "${WORKDIR}/${BPN}-${REPACK_PV}.orig" + +inherit autotools + +BBCLASSEXTEND = "native nativesdk" + +PARALLEL_MAKE = "" diff --git a/recipes-debian/sources/gengetopt.inc b/recipes-debian/sources/gengetopt.inc new file mode 100644 index 00000000..a839a306 --- /dev/null +++ b/recipes-debian/sources/gengetopt.inc @@ -0,0 +1,19 @@ +# This is generated by debian-source.bbclass +DPV = "2.22.6+dfsg0-3" +DPV_EPOCH = "" +REPACK_PV = "2.22.6+dfsg0" +PV = "2.22.6" + +DEBIAN_SRC_URI = " \ + ${DEBIAN_MIRROR}/main/g/gengetopt/gengetopt_2.22.6+dfsg0-3.dsc;name=gengetopt_2.22.6+dfsg0-3.dsc \ + ${DEBIAN_MIRROR}/main/g/gengetopt/gengetopt_2.22.6+dfsg0.orig.tar.gz;name=gengetopt_2.22.6+dfsg0.orig.tar.gz \ + ${DEBIAN_MIRROR}/main/g/gengetopt/gengetopt_2.22.6+dfsg0-3.debian.tar.xz;name=gengetopt_2.22.6+dfsg0-3.debian.tar.xz \ +" + +SRC_URI[gengetopt_2.22.6+dfsg0-3.dsc.md5sum] = "e33a11bfb0a865f3cd824b7cad29f903" +SRC_URI[gengetopt_2.22.6+dfsg0.orig.tar.gz.md5sum] = "567845e97c3a7fbfed81db328509d85c" +SRC_URI[gengetopt_2.22.6+dfsg0-3.debian.tar.xz.md5sum] = "1a54b5df4b84286161af2a1625a9d5cc" + +SRC_URI[gengetopt_2.22.6+dfsg0-3.dsc.sha256sum] = "7cad58250202154745ea1873d6483673242d4287acfd3e0907f2a132c463fc33" +SRC_URI[gengetopt_2.22.6+dfsg0.orig.tar.gz.sha256sum] = "ef73f03e65836ce8888a9e5a90d09c0156a801e032169235b5a0d0b549c6f1da" +SRC_URI[gengetopt_2.22.6+dfsg0-3.debian.tar.xz.sha256sum] = "b997e24351d61b1f3c4164e84f63db1efd514de2f693522ee49e475fe4649982"