1*4882a593SmuzhiyunSUMMARY = "Small and friendly console text editor" 2*4882a593SmuzhiyunDESCRIPTION = "GNU nano (Nano's ANOther editor, or \ 3*4882a593SmuzhiyunNot ANOther editor) is an enhanced clone of the \ 4*4882a593SmuzhiyunPico text editor." 5*4882a593SmuzhiyunHOMEPAGE = "http://www.nano-editor.org/" 6*4882a593SmuzhiyunSECTION = "console/utils" 7*4882a593SmuzhiyunLICENSE = "GPL-3.0-only" 8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunDEPENDS = "ncurses file" 11*4882a593SmuzhiyunRDEPENDS:${PN} = "ncurses-terminfo-base" 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunPV_MAJOR = "${@d.getVar('PV').split('.')[0]}" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunSRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz" 16*4882a593SmuzhiyunSRC_URI[sha256sum] = "2bca1804bead6aaf4ad791f756e4749bb55ed860eec105a97fba864bc6a77cb3" 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano" 19*4882a593Smuzhiyun 20*4882a593Smuzhiyuninherit autotools gettext pkgconfig 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunPACKAGECONFIG[tiny] = "--enable-tiny," 23