1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= c7cf264f0f3e4af43ecdbc4ec72c3b1e831c69a1a5f6512d5b0c109e6bac7b11
10 PKG_DESCR
:= enhanced clone of the pico editor
11 PKG_SECTION
:= app
/editor
12 PKG_DEPENDS
:= libncurses
13 PKG_BUILDDEP
:= ncurses
14 PKG_URL
:= http
://www.nano-editor.org
/
15 PKG_SITES
:= http
://www.nano-editor.org
/dist/v2.8
/
17 include ${ADK_TOPDIR}/mk
/package.mk
19 $(eval
$(call PKG_template
,NANO
,nano
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 CONFIGURE_ENV
+= ac_cv_header_regex_h
=no
22 CONFIGURE_ARGS
+= --enable-nanorc \
32 --disable-operatingdir \
34 TARGET_LDFLAGS
+= -ltinfo
37 ${INSTALL_DIR} ${IDIR_NANO}/usr
/bin
38 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/nano
${IDIR_NANO}/usr
/bin
/
39 ${INSTALL_DIR} ${IDIR_NANO}/etc
40 $(INSTALL_DATA
) .
/files
/nanorc
${IDIR_NANO}/etc
/
42 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk