xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/libedit/libedit_20210910-3.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "BSD replacement for libreadline"
2DESCRIPTION = "Command line editor library providing generic line editing, \
3history, and tokenization functions"
4HOMEPAGE = "http://www.thrysoee.dk/editline/"
5SECTION = "libs"
6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://COPYING;md5=1e4228d0c5a9093b01aeaaeae6641533"
8
9DEPENDS = "ncurses"
10
11inherit autotools
12
13SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \
14           file://stdc-predef.patch \
15          "
16SRC_URI[sha256sum] = "6792a6a992050762edcca28ff3318cdb7de37dccf7bc30db59fcd7017eed13c5"
17
18BBCLASSEXTEND = "native nativesdk"
19
20inherit update-alternatives
21
22ALTERNATIVE_PRIORITY = "90"
23ALTERNATIVE:${PN}-doc = "history.3"
24ALTERNATIVE_LINK_NAME[history.3] = "${mandir}/man3/history.3"
25