diff --git a/meta-citadel/recipes-citadel/packagegroups/packagegroup-citadel-base.bb b/meta-citadel/recipes-citadel/packagegroups/packagegroup-citadel-base.bb index c9c4138..722313d 100644 --- a/meta-citadel/recipes-citadel/packagegroups/packagegroup-citadel-base.bb +++ b/meta-citadel/recipes-citadel/packagegroups/packagegroup-citadel-base.bb @@ -42,6 +42,7 @@ RDEPENDS_${PN} = "\ packagegroup-firmware \ vim \ vifm \ + nano \ tzdata \ tzdata-americas \ tzdata-asia \ diff --git a/meta-citadel/recipes-support/nano/nano_3.0.bb b/meta-citadel/recipes-support/nano/nano_3.0.bb new file mode 100644 index 0000000..2c7fbd5 --- /dev/null +++ b/meta-citadel/recipes-support/nano/nano_3.0.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "GNU nano (Nano's ANOther editor, or \ +Not ANOther editor) is an enhanced clone of the \ +Pico text editor." +HOMEPAGE = "http://www.nano-editor.org/" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" +SECTION = "console/utils" +DEPENDS = "ncurses file" +RDEPENDS_${PN} = "ncurses-terminfo-base" + +PV_MAJOR = "${@d.getVar('PV').split('.')[0]}" + +SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz" + +SRC_URI[md5sum] = "74196427a09ec2f82a88facd220d2787" +SRC_URI[sha256sum] = "e0a5bca354514e64762c987c200a8758b05e7bcced3b00b3e48ea0a2d383c8a0" + +inherit autotools gettext pkgconfig + +PACKAGECONFIG[tiny] = "--enable-tiny,"