Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | SUMMARY = "Bash Automated Testing System" |
| 2 | DESCRIPTION = "Bats is a TAP-compliant testing framework for Bash. It \ |
| 3 | provides a simple way to verify that the UNIX programs you write behave as expected." |
| 4 | AUTHOR = "Sam Stephenson & bats-core organization" |
| 5 | HOMEPAGE = "https://github.com/bats-core/bats-core" |
| 6 | LICENSE = "MIT" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b" |
| 8 | |
| 9 | SRC_URI = "git://github.com/bats-core/bats-core.git \ |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame^] | 10 | file://0001-install.sh-consider-multilib.patch \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 11 | " |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 12 | # v1.3.0 |
| 13 | SRCREV = "9086c47854652f2731861b40385689c85f12103f" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | do_install() { |
| 18 | # Just a bunch of bash scripts to install |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame^] | 19 | ${S}/install.sh ${D}${prefix} ${baselib} |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 20 | } |
| 21 | |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 22 | RDEPENDS_${PN} = "bash" |
| 23 | FILES_${PN} += "${libdir}/bats-core/*" |
| 24 | |
| 25 | PACKAGECONFIG ??= "pretty" |
| 26 | PACKAGECONFIG[pretty] = ",,,ncurses" |