blob: 2b236ba1eb322a99e4177c9be116edc78b1090ed [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"
15SRC_URI[md5sum] = "10df0100ebf4aa7bb4806428c11751eb"
16SRC_URI[sha256sum] = "d8a25eea942ecee2d57b8e037eb4b28f030f818b78773b8fcb994ed5835d2ef6"
17
18UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano"
19
20inherit autotools gettext pkgconfig
21
22PACKAGECONFIG[tiny] = "--enable-tiny,"