xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/tmux/tmux_3.1c.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Terminal multiplexer"
2*4882a593SmuzhiyunHOMEPAGE = "http://tmux.sourceforge.net"
3*4882a593SmuzhiyunSECTION = "console/utils"
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunLICENSE = "ISC"
6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://tmux.c;beginline=3;endline=17;md5=f256b76d52e7b4d02bf19144bdaca107"
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunDEPENDS = "ncurses libevent"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSRC_URI = "https://github.com/tmux/tmux/releases/download/${PV}/tmux-${PV}.tar.gz"
11*4882a593SmuzhiyunSRC_URI[md5sum] = "7301d3fa12f35051edb185496766c745"
12*4882a593SmuzhiyunSRC_URI[sha256sum] = "918f7220447bef33a1902d4faff05317afd9db4ae1c9971bef5c787ac6c88386"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://github.com/tmux/tmux/releases"
15*4882a593Smuzhiyun
16*4882a593Smuzhiyuninherit autotools pkgconfig
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunPACKAGECONFIG ??= ""
19*4882a593SmuzhiyunPACKAGECONFIG[utempter] = "ac_cv_header_utempter_h=yes,ac_cv_header_utempter_h=no,libutempter,"
20*4882a593Smuzhiyun
21*4882a593Smuzhiyundo_configure:prepend() {
22*4882a593Smuzhiyun    # The 'compat' directory is needed for output during the build but it's
23*4882a593Smuzhiyun    # not automatically created when building outside the source directory.
24*4882a593Smuzhiyun    mkdir -p ${B}/compat
25*4882a593Smuzhiyun}
26