Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "Programmable Completion for Bash 4" |
| 2 | HOMEPAGE = "http://bash-completion.alioth.debian.org/" |
| 3 | BUGTRACKER = "https://alioth.debian.org/projects/bash-completion/" |
| 4 | |
| 5 | LICENSE = "GPLv2" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 7 | |
| 8 | SECTION = "console/utils" |
| 9 | |
| 10 | SRC_URI = "https://github.com/scop/bash-completion/releases/download/${PV}/${BPN}-${PV}.tar.xz" |
| 11 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 12 | SRC_URI[md5sum] = "60139333b25c4d54ad40323b701be130" |
| 13 | SRC_URI[sha256sum] = "d48fe378e731062f479c5f8802ffa9d3c40a275a19e6e0f6f6cc4b90fa12b2f5" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 14 | UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar" |
| 15 | UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases" |
| 16 | |
| 17 | PARALLEL_MAKE = "" |
| 18 | |
| 19 | inherit autotools |
| 20 | |
| 21 | do_install_append() { |
| 22 | # compatdir |
| 23 | install -d ${D}${sysconfdir}/bash_completion.d/ |
| 24 | echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion |
| 25 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 26 | } |
| 27 | |
| 28 | RDEPENDS_${PN} = "bash" |
| 29 | |
| 30 | # Some recipes are providing ${PN}-bash-completion packages |
| 31 | PACKAGES =+ "${PN}-extra" |
| 32 | FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \ |
| 33 | ${datadir}/${BPN}/helpers/" |
| 34 | |
| 35 | FILES_${PN}-dev += "${datadir}/cmake" |
| 36 | |
| 37 | BBCLASSEXTEND = "nativesdk" |