blob: 39a02733f144e8d8042185229154ce4aa4a6854a [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001SUMMARY = "Bash Automated Testing System"
2DESCRIPTION = "Bats is a TAP-compliant testing framework for Bash. It \
3provides a simple way to verify that the UNIX programs you write behave as expected."
4AUTHOR = "Sam Stephenson & bats-core organization"
5HOMEPAGE = "https://github.com/bats-core/bats-core"
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b"
8
9SRC_URI = "git://github.com/bats-core/bats-core.git \
Andrew Geissler69721092021-07-23 12:57:00 -040010 file://0001-install.sh-consider-multilib.patch \
Brad Bishop26bdd442019-08-16 17:08:17 -040011 "
Andrew Geisslere34f8962021-04-15 15:53:51 -050012# v1.3.0
13SRCREV = "9086c47854652f2731861b40385689c85f12103f"
Brad Bishop26bdd442019-08-16 17:08:17 -040014
15S = "${WORKDIR}/git"
16
17do_install() {
18 # Just a bunch of bash scripts to install
Andrew Geissler69721092021-07-23 12:57:00 -040019 ${S}/install.sh ${D}${prefix} ${baselib}
Brad Bishop26bdd442019-08-16 17:08:17 -040020}
21
Andrew Geisslere34f8962021-04-15 15:53:51 -050022RDEPENDS_${PN} = "bash"
23FILES_${PN} += "${libdir}/bats-core/*"
24
25PACKAGECONFIG ??= "pretty"
26PACKAGECONFIG[pretty] = ",,,ncurses"