added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/sh
for case in `find t -type f -name '*.t'`; do
perl $case >$case.output 2>&1
ret=$?
cat $case.output
if [ $ret -ne 0 ]; then
echo "FAIL: ${case%.t}"
elif grep -i 'SKIP' $case.output; then
echo "SKIP: ${case%.t}"
else
echo "PASS: ${case%.t}"
fi
rm -f $case.output
done

View File

@@ -0,0 +1,38 @@
SUMMARY = "Data::HexDump - Hexadecial Dumper"
DESCRIPTION = "Dump in hexadecimal the content of a scalar. The result \
is returned in a string. Each line of the result consists of the offset \
in the source in the leftmost column of each line, followed by one or \
more columns of data from the source in hexadecimal. The rightmost column \
of each line shows the printable characters \
(all others are shown as single dots).\
"
HOMEPAGE = "http://search.cpan.org/~ftassin/Data-HexDump-0.02/lib/Data/HexDump.pm"
SECTION = "libs"
LICENSE = "Artistic-1.0"
LIC_FILES_CHKSUM = "file://lib/Data/HexDump.pm;beginline=215;endline=217;md5=bf1cd9373f8d1f85fe091ee069a480e9"
DEPENDS = "perl"
SRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FT/FTASSIN/Data-HexDump-${PV}.tar.gz \
file://run-ptest \
"
SRC_URI[md5sum] = "467b7183d1062ab4a502b50c34e7d67f"
SRC_URI[sha256sum] = "1a9d843e7f667c1c6f77c67af5d77e7462ff23b41937cb17454d03535cd9be70"
S = "${WORKDIR}/Data-HexDump-${PV}"
inherit cpan ptest update-alternatives
do_install_ptest () {
install -d ${D}${PTEST_PATH}/t
install -m 0755 ${B}/t/* ${D}${PTEST_PATH}/t
}
BBCLASSEXTEND = "native"
ALTERNATIVES_PRIORITY = "100"
ALTERNATIVE:${PN} = "hexdump"
ALTERNATIVE_LINK_NAME[hexdump] = "${bindir}/hexdump"