blob: 29ec00a791aa08983bf896a9b393edd8888e6c17 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001DESCRIPTION = "GNU nano (Nano's ANOther editor, or \
2Not ANOther editor) is an enhanced clone of the \
3Pico text editor."
4HOMEPAGE = "http://www.nano-editor.org/"
5SECTION = "console/utils"
6LICENSE = "GPLv3"
7LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
8
9DEPENDS = "ncurses file"
10RDEPENDS_${PN} = "ncurses-terminfo-base"
11
12PV_MAJOR = "${@d.getVar('PV').split('.')[0]}"
13
14SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz"
Andrew Geisslerac970dd2021-02-12 15:32:45 -060015SRC_URI[sha256sum] = "390b81bf9b41ff736db997aede4d1f60b4453fbd75a519a4ddb645f6fd687e4a"
Andrew Geissler82c905d2020-04-13 13:39:40 -050016
17UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano"
18
19inherit autotools gettext pkgconfig
20
21PACKAGECONFIG[tiny] = "--enable-tiny,"