mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package: get rid of editors subdir
Not much point in a seperate subdir for only four packages. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
8
package/nano/Config.in
Normal file
8
package/nano/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_NANO
|
||||
bool "nano"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
A nice ncurses-based editor. Started out as a clone of pico.
|
||||
Great editor for new users.
|
||||
|
||||
http://www.nano-editor.org/
|
||||
24
package/nano/nano.mk
Normal file
24
package/nano/nano.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
#############################################################
|
||||
#
|
||||
# nano
|
||||
#
|
||||
#############################################################
|
||||
|
||||
NANO_VERSION = 2.2.3
|
||||
NANO_SITE = http://www.nano-editor.org/dist/v2.2
|
||||
NANO_MAKE_ENV = CURSES_LIB="-lncurses"
|
||||
NANO_CONF_OPT = --without-slang --enable-tiny
|
||||
NANO_DEPENDENCIES = ncurses
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,nano))
|
||||
|
||||
$(NANO_TARGET_INSTALL_TARGET):
|
||||
$(call MESSAGE,"Installing to target")
|
||||
$(INSTALL) -m 0755 $(NANO_DIR)/src/nano \
|
||||
$(TARGET_DIR)/usr/bin/nano
|
||||
touch $@
|
||||
|
||||
$(NANO_TARGET_UNINSTALL):
|
||||
$(call MESSAGE,"Uninstalling")
|
||||
rm -f $(TARGET_DIR)/usr/bin/nano
|
||||
rm -f $(NANO_TARGET_INSTALL_TARGET) $(NANO_HOOK_POST_INSTALL)
|
||||
Reference in New Issue
Block a user