Files
poky/meta/recipes-support/popt/popt_1.19.bb
Alexander Kanavin e3f65282c9 popt: update 1.18 -> 1.19
Patch is merged upstream.

License-update: clarification
dcec86df3c

Backport a regression fix for gptfdisk.

(From OE-Core rev: 262aa17e0eeac5274298ec9a938e5353094b8fa5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00

32 lines
1.2 KiB
BlitzBasic

SUMMARY = "Library for parsing command line options"
DESCRIPTION = "Popt is a C library for parsing command line parameters. Popt was heavily influenced by the getopt() and getopt_long() functions, but it improves on them by allowing more powerful argument expansion. Popt can parse arbitrary argv[] style arrays and automatically set variables based on command line arguments."
HOMEPAGE = "https://www.rpm.org/"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=e0206ac9471d06667e076212db20c5f4"
DEPENDS = "virtual/libiconv"
SRC_URI = "http://ftp.rpm.org/popt/releases/popt-1.x/${BP}.tar.gz \
file://run-ptest \
"
SRC_URI[sha256sum] = "c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9"
inherit autotools gettext ptest
RDEPENDS:${PN}-ptest += "bash"
do_compile_ptest() {
sed 's#lt-test1#test1#g' ${S}/tests/testit.sh > ${B}/tests/testit.sh
}
do_install_ptest() {
install ${B}/tests/.libs/test* ${D}/${PTEST_PATH}
install ${B}/tests/.libs/tdict ${D}/${PTEST_PATH}
install ${B}/tests/testit.sh ${D}/${PTEST_PATH}
install ${B}/tests/test-poptrc ${D}/${PTEST_PATH}
}
BBCLASSEXTEND = "native nativesdk"