mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. (From OE-Core rev: e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405) Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.0 KiB
BlitzBasic
33 lines
1.0 KiB
BlitzBasic
SUMMARY = "Displays the full path of shell commands"
|
|
DESCRIPTION = "Which is a utility that prints out the full path of the \
|
|
executables that bash(1) would execute when the passed \
|
|
program names would have been entered on the shell prompt. \
|
|
It does this by using the exact same algorithm as bash."
|
|
SECTION = "libs"
|
|
HOMEPAGE = "http://carlo17.home.xs4all.nl/which/"
|
|
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
|
|
|
PR = "r2"
|
|
|
|
SRC_URI = "http://www.xs4all.nl/~carlo17/which/which-${PV}.tar.gz \
|
|
file://fix_name_conflict_group_member.patch"
|
|
|
|
SRC_URI[md5sum] = "42d51938e48b91f6e19fabf216f5c3e9"
|
|
SRC_URI[sha256sum] = "9445cd7e02ec0c26a44fd56098464ded064ba5d93dd2e15ec12410ba56b2e544"
|
|
|
|
DEPENDS = "cwautomacros-native"
|
|
|
|
inherit autotools texinfo update-alternatives
|
|
|
|
do_configure_prepend() {
|
|
OLD="@ACLOCAL_CWFLAGS@"
|
|
NEW="-I ${STAGING_DIR_NATIVE}/${datadir}/cwautomacros/m4"
|
|
sed -i "s#${OLD}#${NEW}#g" `grep -rl ${OLD} ${S}`
|
|
}
|
|
|
|
ALTERNATIVE_${PN} = "which"
|
|
ALTERNATIVE_PRIORITY = "100"
|
|
|