nodm: add new package
[openadk.git] / package / nano / Makefile
blobee957bb12f9832be52c370eddee106067c062271
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
6 PKG_NAME:= nano
7 PKG_VERSION:= 2.8.4
8 PKG_RELEASE:= 1
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 \
23 --enable-tiny \
24 --disable-utf8 \
25 --disable-glibtest \
26 --disable-color \
27 --without-slang \
28 --disable-browser \
29 --disable-help \
30 --disable-mouse \
31 --disable-speller \
32 --disable-operatingdir \
33 --enable-multibuffer
34 TARGET_LDFLAGS+= -ltinfo
36 nano-install:
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