buildroot: move editors under package/editors and merge menus
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 7 Mar 2008 10:00:04 +0000 (10:00 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 7 Mar 2008 10:00:04 +0000 (10:00 -0000)
Based on patch by Arnar Mar Sig.

18 files changed:
package/Config.in
package/ed/Config.in [deleted file]
package/ed/ed.mk [deleted file]
package/editors/Config.in
package/editors/ed/Config.in [new file with mode: 0644]
package/editors/ed/ed.mk [new file with mode: 0644]
package/editors/nano/Config.in [new file with mode: 0644]
package/editors/nano/nano.mk [new file with mode: 0644]
package/editors/uemacs/Config.in [new file with mode: 0644]
package/editors/uemacs/uemacs-4.0.15-lt.01.patch [new file with mode: 0644]
package/editors/uemacs/uemacs-4.0.15-lt.02.patch [new file with mode: 0644]
package/editors/uemacs/uemacs.mk [new file with mode: 0644]
package/nano/Config.in [deleted file]
package/nano/nano.mk [deleted file]
package/uemacs/Config.in [deleted file]
package/uemacs/uemacs-4.0.15-lt.01.patch [deleted file]
package/uemacs/uemacs-4.0.15-lt.02.patch [deleted file]
package/uemacs/uemacs.mk [deleted file]

index fe7265e2e8999e96f2641f7225a5c533e339d37c..951fd064f70f85e55c736a8958eb949bb5d929fd 100644 (file)
@@ -11,7 +11,6 @@ source "package/coreutils/Config.in"
 endif
 source "package/diffutils/Config.in"
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
-source "package/ed/Config.in"
 source "package/findutils/Config.in"
 endif
 source "package/flex/Config.in"
@@ -119,16 +118,8 @@ endif
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 # busybox has an editor
 
-menuconfig BR2_TEXTEDIT_SUPPORT
-       bool "Text editors"
-       default y
-       help
-         Support for text editors
-
-if BR2_TEXTEDIT_SUPPORT
-source "package/nano/Config.in"
-source "package/uemacs/Config.in"
-endif
+# text editors
+source "package/editors/Config.in"
 
 endif
 
@@ -490,6 +481,4 @@ source "package/magiccube4d/Config.in"
 source "package/vice/Config.in"
 endif
 
-source "package/editors/Config.in"
-
 endmenu
diff --git a/package/ed/Config.in b/package/ed/Config.in
deleted file mode 100644 (file)
index d14343f..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-config BR2_PACKAGE_ED
-       bool "ed"
-       default n
-       help
-         A line-oriented text editor.  Used to create, display, modify, 
-         and otherwise manipulate text files.  Often used in scripts 
-         rather than invoked directly.
-
-         http://www.gnu.org/software/ed/
diff --git a/package/ed/ed.mk b/package/ed/ed.mk
deleted file mode 100644 (file)
index 00ce856..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#############################################################
-#
-# ed
-#
-#############################################################
-ED_VERSION:=0.8
-ED_SOURCE:=ed-$(ED_VERSION).tar.bz2
-ED_SITE:=$(BR2_GNU_MIRROR)/ed/
-ED_CAT:=$(BZCAT)
-ED_DIR:=$(BUILD_DIR)/ed-$(ED_VERSION)
-ED_BINARY:=ed
-ED_TARGET_BINARY:=bin/ed
-
-$(DL_DIR)/$(ED_SOURCE):
-        $(WGET) -P $(DL_DIR) $(ED_SITE)/$(ED_SOURCE)
-
-$(ED_DIR)/.unpacked: $(DL_DIR)/$(ED_SOURCE)
-       $(ED_CAT) $(DL_DIR)/$(ED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-       toolchain/patch-kernel.sh $(ED_DIR) package/ed/ ed-\*.patch
-       touch $@
-
-$(ED_DIR)/.configured: $(ED_DIR)/.unpacked
-       (cd $(ED_DIR); rm -rf config.cache; \
-               $(TARGET_CONFIGURE_OPTS) \
-               $(TARGET_CONFIGURE_ARGS) \
-               ./configure \
-               --target=$(GNU_TARGET_NAME) \
-               --host=$(GNU_TARGET_NAME) \
-               --build=$(GNU_HOST_NAME) \
-               --prefix=/usr \
-               --exec-prefix=/usr \
-       )
-       touch $@
-
-$(ED_DIR)/$(ED_BINARY): $(ED_DIR)/.configured
-       $(MAKE) CC=$(TARGET_CC) -C $(ED_DIR)
-
-$(TARGET_DIR)/$(ED_TARGET_BINARY): $(ED_DIR)/$(ED_BINARY)
-       $(INSTALL) -D $(ED_DIR)/$(ED_BINARY) $(TARGET_DIR)/$(ED_TARGET_BINARY)
-
-ed: uclibc $(TARGET_DIR)/$(ED_TARGET_BINARY)
-
-ed-source: $(DL_DIR)/$(ED_SOURCE)
-
-ed-clean:
-       $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(ED_DIR) uninstall
-       -$(MAKE) -C $(ED_DIR) clean
-
-ed-dirclean:
-       rm -rf $(ED_DIR)
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_ED)),y)
-TARGETS+=ed
-endif
index b979df85aabb5ad45692b2e20eafb78a063a0fd8..b4e7e402367933f1f1604ad2ba5d8d5d541352ee 100644 (file)
@@ -1,5 +1,12 @@
-menu "Editors"
+menuconfig BR2_TEXTEDIT_SUPPORT
+       bool "Text editors"
+       default y
+       help
+         Support for text editors
 
+if BR2_TEXTEDIT_SUPPORT
+source "package/editors/ed/Config.in"
+source "package/editors/nano/Config.in"
+source "package/editors/uemacs/Config.in"
 source "package/editors/vim/Config.in"
-
-endmenu
+endif
diff --git a/package/editors/ed/Config.in b/package/editors/ed/Config.in
new file mode 100644 (file)
index 0000000..d14343f
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_ED
+       bool "ed"
+       default n
+       help
+         A line-oriented text editor.  Used to create, display, modify, 
+         and otherwise manipulate text files.  Often used in scripts 
+         rather than invoked directly.
+
+         http://www.gnu.org/software/ed/
diff --git a/package/editors/ed/ed.mk b/package/editors/ed/ed.mk
new file mode 100644 (file)
index 0000000..00ce856
--- /dev/null
@@ -0,0 +1,59 @@
+#############################################################
+#
+# ed
+#
+#############################################################
+ED_VERSION:=0.8
+ED_SOURCE:=ed-$(ED_VERSION).tar.bz2
+ED_SITE:=$(BR2_GNU_MIRROR)/ed/
+ED_CAT:=$(BZCAT)
+ED_DIR:=$(BUILD_DIR)/ed-$(ED_VERSION)
+ED_BINARY:=ed
+ED_TARGET_BINARY:=bin/ed
+
+$(DL_DIR)/$(ED_SOURCE):
+        $(WGET) -P $(DL_DIR) $(ED_SITE)/$(ED_SOURCE)
+
+$(ED_DIR)/.unpacked: $(DL_DIR)/$(ED_SOURCE)
+       $(ED_CAT) $(DL_DIR)/$(ED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+       toolchain/patch-kernel.sh $(ED_DIR) package/ed/ ed-\*.patch
+       touch $@
+
+$(ED_DIR)/.configured: $(ED_DIR)/.unpacked
+       (cd $(ED_DIR); rm -rf config.cache; \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
+               ./configure \
+               --target=$(GNU_TARGET_NAME) \
+               --host=$(GNU_TARGET_NAME) \
+               --build=$(GNU_HOST_NAME) \
+               --prefix=/usr \
+               --exec-prefix=/usr \
+       )
+       touch $@
+
+$(ED_DIR)/$(ED_BINARY): $(ED_DIR)/.configured
+       $(MAKE) CC=$(TARGET_CC) -C $(ED_DIR)
+
+$(TARGET_DIR)/$(ED_TARGET_BINARY): $(ED_DIR)/$(ED_BINARY)
+       $(INSTALL) -D $(ED_DIR)/$(ED_BINARY) $(TARGET_DIR)/$(ED_TARGET_BINARY)
+
+ed: uclibc $(TARGET_DIR)/$(ED_TARGET_BINARY)
+
+ed-source: $(DL_DIR)/$(ED_SOURCE)
+
+ed-clean:
+       $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(ED_DIR) uninstall
+       -$(MAKE) -C $(ED_DIR) clean
+
+ed-dirclean:
+       rm -rf $(ED_DIR)
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_ED)),y)
+TARGETS+=ed
+endif
diff --git a/package/editors/nano/Config.in b/package/editors/nano/Config.in
new file mode 100644 (file)
index 0000000..272c061
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_NANO
+       bool "nano"
+       default n
+       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/
diff --git a/package/editors/nano/nano.mk b/package/editors/nano/nano.mk
new file mode 100644 (file)
index 0000000..c50f140
--- /dev/null
@@ -0,0 +1,59 @@
+#############################################################
+#
+# nano
+#
+#############################################################
+NANO_VERSION:=1.3.12
+NANO_SOURCE:=nano-$(NANO_VERSION).tar.gz
+NANO_SITE:=http://www.nano-editor.org/dist/v1.3/
+NANO_DIR:=$(BUILD_DIR)/nano-$(NANO_VERSION)
+NANO_CAT:=$(ZCAT)
+NANO_BINARY:=src/nano
+NANO_TARGET_BINARY:=bin/nano
+
+$(DL_DIR)/$(NANO_SOURCE):
+       $(WGET) -P $(DL_DIR) $(NANO_SITE)/$(NANO_SOURCE)
+
+nano-source: $(DL_DIR)/$(NANO_SOURCE)
+
+$(NANO_DIR)/.unpacked: $(DL_DIR)/$(NANO_SOURCE)
+       $(NANO_CAT) $(DL_DIR)/$(NANO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+       $(CONFIG_UPDATE) $(NANO_DIR)
+       touch $@
+
+$(NANO_DIR)/.configured: $(NANO_DIR)/.unpacked
+       (cd $(NANO_DIR); rm -rf config.cache; \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
+               ac_cv_header_regex_h=no \
+               ./configure \
+               --target=$(GNU_TARGET_NAME) \
+               --host=$(GNU_TARGET_NAME) \
+               --build=$(GNU_HOST_NAME) \
+               --prefix=/ \
+               --enable-tiny \
+       )
+       touch $@
+
+$(NANO_DIR)/$(NANO_BINARY): $(NANO_DIR)/.configured
+       $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(NANO_DIR)
+
+$(TARGET_DIR)/$(NANO_TARGET_BINARY): $(NANO_DIR)/$(NANO_BINARY)
+       install -D $(NANO_DIR)/$(NANO_BINARY) $(TARGET_DIR)/$(NANO_TARGET_BINARY)
+
+nano: uclibc ncurses $(TARGET_DIR)/$(NANO_TARGET_BINARY)
+
+nano-clean:
+       rm -f $(TARGET_DIR)/$(NANO_TARGET_BINARY)
+       -$(MAKE) -C $(NANO_DIR) clean
+
+nano-dirclean:
+       rm -rf $(NANO_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_NANO)),y)
+TARGETS+=nano
+endif
diff --git a/package/editors/uemacs/Config.in b/package/editors/uemacs/Config.in
new file mode 100644 (file)
index 0000000..6c78bd8
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_UEMACS
+       bool "uemacs"
+       default n
+       select BR2_PACKAGE_NCURSES
+       help
+         A small emacs.
+
+         ftp://ftp.kernel.org/pub/software/editors/uemacs/
diff --git a/package/editors/uemacs/uemacs-4.0.15-lt.01.patch b/package/editors/uemacs/uemacs-4.0.15-lt.01.patch
new file mode 100644 (file)
index 0000000..855dd35
--- /dev/null
@@ -0,0 +1,33 @@
+diff -rup em-4.0.15-lt.oorig/display.c em-4.0.15-lt/display.c
+--- em-4.0.15-lt.oorig/display.c       1994-05-21 12:40:56.000000000 +0200
++++ em-4.0.15-lt/display.c     2005-11-16 16:54:22.000000000 +0100
+@@ -9,6 +9,7 @@
+  */
+ #include        <stdio.h>
++#include        <errno.h>
+ #include      "estruct.h"
+ #include        "edef.h"
+diff -rup em-4.0.15-lt.oorig/main.c em-4.0.15-lt/main.c
+--- em-4.0.15-lt.oorig/main.c  1994-05-21 12:41:03.000000000 +0200
++++ em-4.0.15-lt/main.c        2005-11-16 16:54:01.000000000 +0100
+@@ -123,7 +123,7 @@ char *argv[];      /* argument strings */
+ #endif
+ #if UNIX
+-      static void emergencyexit();
++      void emergencyexit();
+ #ifdef SIGWINCH
+       extern void sizesignal();
+ #endif
+@@ -599,7 +599,7 @@ quickexit(f, n)
+       return(TRUE);
+ }
+-static void emergencyexit(signr)
++void emergencyexit(signr)
+ int signr;
+ {
+       quickexit(FALSE, 0);
+
diff --git a/package/editors/uemacs/uemacs-4.0.15-lt.02.patch b/package/editors/uemacs/uemacs-4.0.15-lt.02.patch
new file mode 100644 (file)
index 0000000..946b3d5
--- /dev/null
@@ -0,0 +1,16 @@
+--- em-4.0.15-lt.oorig/lock.c  1999-05-16 09:04:17.000000000 +0200
++++ em-4.0.15-lt/lock.c        2006-03-10 15:22:16.000000000 +0100
+@@ -152,10 +152,8 @@
+       strcpy(obuf, errstr);
+       strcat(obuf, " - ");
+-      if (errno < sys_nerr)
+-              strcat(obuf, sys_errlist[errno]);
+-      else
+-              strcat(obuf, "(can not get system error message)");
++      strcat(obuf, strerror(errno));
++
+       mlwrite(obuf);
+ }
+ #endif
+
diff --git a/package/editors/uemacs/uemacs.mk b/package/editors/uemacs/uemacs.mk
new file mode 100644 (file)
index 0000000..5abe943
--- /dev/null
@@ -0,0 +1,48 @@
+#############################################################
+#
+# uemacs
+#
+#############################################################
+UEMACS_VERSION:=4.0.15-lt
+UEMACS_SOURCE:=em-$(UEMACS_VERSION).tar.bz2
+UEMACS_CAT:=$(BZCAT)
+UEMACS_SITE:=ftp://ftp.kernel.org/pub/software/editors/uemacs/
+UEMACS_DIR:=$(BUILD_DIR)/em-$(UEMACS_VERSION)
+UEMACS_BINARY:=em
+UEMACS_TARGET_BINARY:=usr/bin/emacs
+
+$(DL_DIR)/$(UEMACS_SOURCE):
+        $(WGET) -P $(DL_DIR) $(UEMACS_SITE)/$(UEMACS_SOURCE)
+
+uemacs-source: $(DL_DIR)/$(UEMACS_SOURCE)
+
+$(UEMACS_DIR)/.unpacked: $(DL_DIR)/$(UEMACS_SOURCE)
+       $(UEMACS_CAT) $(DL_DIR)/$(UEMACS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+       toolchain/patch-kernel.sh $(UEMACS_DIR) package/uemacs/ uemacs\*.patch
+       touch $(UEMACS_DIR)/.unpacked
+
+$(UEMACS_DIR)/$(UEMACS_BINARY): $(UEMACS_DIR)/.unpacked
+       $(MAKE) -C $(UEMACS_DIR) \
+       CC="$(TARGET_CC)" DEFINES="-DAUTOCONF -DPOSIX -DUSG" CFLAGS+="$(TARGET_CFLAGS) " LIBS=-lncurses
+       $(STRIPCMD) $(UEMACS_DIR)/$(UEMACS_BINARY)
+
+$(TARGET_DIR)/$(UEMACS_TARGET_BINARY): $(UEMACS_DIR)/$(UEMACS_BINARY)
+       $(INSTALL) -m 0755 -D $(UEMACS_DIR)/$(UEMACS_BINARY) $(TARGET_DIR)/$(UEMACS_TARGET_BINARY)
+
+uemacs: uclibc ncurses $(TARGET_DIR)/$(UEMACS_TARGET_BINARY)
+
+uemacs-clean:
+       rm -f $(TARGET_DIR)/$(UEMACS_TARGET_BINARY)
+       -$(MAKE) -C $(UEMACS_DIR) clean
+
+uemacs-dirclean:
+       rm -rf $(UEMACS_DIR)
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_UEMACS)),y)
+TARGETS+=uemacs
+endif
diff --git a/package/nano/Config.in b/package/nano/Config.in
deleted file mode 100644 (file)
index 272c061..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-config BR2_PACKAGE_NANO
-       bool "nano"
-       default n
-       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/
diff --git a/package/nano/nano.mk b/package/nano/nano.mk
deleted file mode 100644 (file)
index c50f140..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#############################################################
-#
-# nano
-#
-#############################################################
-NANO_VERSION:=1.3.12
-NANO_SOURCE:=nano-$(NANO_VERSION).tar.gz
-NANO_SITE:=http://www.nano-editor.org/dist/v1.3/
-NANO_DIR:=$(BUILD_DIR)/nano-$(NANO_VERSION)
-NANO_CAT:=$(ZCAT)
-NANO_BINARY:=src/nano
-NANO_TARGET_BINARY:=bin/nano
-
-$(DL_DIR)/$(NANO_SOURCE):
-       $(WGET) -P $(DL_DIR) $(NANO_SITE)/$(NANO_SOURCE)
-
-nano-source: $(DL_DIR)/$(NANO_SOURCE)
-
-$(NANO_DIR)/.unpacked: $(DL_DIR)/$(NANO_SOURCE)
-       $(NANO_CAT) $(DL_DIR)/$(NANO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-       $(CONFIG_UPDATE) $(NANO_DIR)
-       touch $@
-
-$(NANO_DIR)/.configured: $(NANO_DIR)/.unpacked
-       (cd $(NANO_DIR); rm -rf config.cache; \
-               $(TARGET_CONFIGURE_OPTS) \
-               $(TARGET_CONFIGURE_ARGS) \
-               ac_cv_header_regex_h=no \
-               ./configure \
-               --target=$(GNU_TARGET_NAME) \
-               --host=$(GNU_TARGET_NAME) \
-               --build=$(GNU_HOST_NAME) \
-               --prefix=/ \
-               --enable-tiny \
-       )
-       touch $@
-
-$(NANO_DIR)/$(NANO_BINARY): $(NANO_DIR)/.configured
-       $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(NANO_DIR)
-
-$(TARGET_DIR)/$(NANO_TARGET_BINARY): $(NANO_DIR)/$(NANO_BINARY)
-       install -D $(NANO_DIR)/$(NANO_BINARY) $(TARGET_DIR)/$(NANO_TARGET_BINARY)
-
-nano: uclibc ncurses $(TARGET_DIR)/$(NANO_TARGET_BINARY)
-
-nano-clean:
-       rm -f $(TARGET_DIR)/$(NANO_TARGET_BINARY)
-       -$(MAKE) -C $(NANO_DIR) clean
-
-nano-dirclean:
-       rm -rf $(NANO_DIR)
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_NANO)),y)
-TARGETS+=nano
-endif
diff --git a/package/uemacs/Config.in b/package/uemacs/Config.in
deleted file mode 100644 (file)
index 6c78bd8..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-config BR2_PACKAGE_UEMACS
-       bool "uemacs"
-       default n
-       select BR2_PACKAGE_NCURSES
-       help
-         A small emacs.
-
-         ftp://ftp.kernel.org/pub/software/editors/uemacs/
diff --git a/package/uemacs/uemacs-4.0.15-lt.01.patch b/package/uemacs/uemacs-4.0.15-lt.01.patch
deleted file mode 100644 (file)
index 855dd35..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -rup em-4.0.15-lt.oorig/display.c em-4.0.15-lt/display.c
---- em-4.0.15-lt.oorig/display.c       1994-05-21 12:40:56.000000000 +0200
-+++ em-4.0.15-lt/display.c     2005-11-16 16:54:22.000000000 +0100
-@@ -9,6 +9,7 @@
-  */
- #include        <stdio.h>
-+#include        <errno.h>
- #include      "estruct.h"
- #include        "edef.h"
-diff -rup em-4.0.15-lt.oorig/main.c em-4.0.15-lt/main.c
---- em-4.0.15-lt.oorig/main.c  1994-05-21 12:41:03.000000000 +0200
-+++ em-4.0.15-lt/main.c        2005-11-16 16:54:01.000000000 +0100
-@@ -123,7 +123,7 @@ char *argv[];      /* argument strings */
- #endif
- #if UNIX
--      static void emergencyexit();
-+      void emergencyexit();
- #ifdef SIGWINCH
-       extern void sizesignal();
- #endif
-@@ -599,7 +599,7 @@ quickexit(f, n)
-       return(TRUE);
- }
--static void emergencyexit(signr)
-+void emergencyexit(signr)
- int signr;
- {
-       quickexit(FALSE, 0);
-
diff --git a/package/uemacs/uemacs-4.0.15-lt.02.patch b/package/uemacs/uemacs-4.0.15-lt.02.patch
deleted file mode 100644 (file)
index 946b3d5..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- em-4.0.15-lt.oorig/lock.c  1999-05-16 09:04:17.000000000 +0200
-+++ em-4.0.15-lt/lock.c        2006-03-10 15:22:16.000000000 +0100
-@@ -152,10 +152,8 @@
-       strcpy(obuf, errstr);
-       strcat(obuf, " - ");
--      if (errno < sys_nerr)
--              strcat(obuf, sys_errlist[errno]);
--      else
--              strcat(obuf, "(can not get system error message)");
-+      strcat(obuf, strerror(errno));
-+
-       mlwrite(obuf);
- }
- #endif
-
diff --git a/package/uemacs/uemacs.mk b/package/uemacs/uemacs.mk
deleted file mode 100644 (file)
index 5abe943..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-#############################################################
-#
-# uemacs
-#
-#############################################################
-UEMACS_VERSION:=4.0.15-lt
-UEMACS_SOURCE:=em-$(UEMACS_VERSION).tar.bz2
-UEMACS_CAT:=$(BZCAT)
-UEMACS_SITE:=ftp://ftp.kernel.org/pub/software/editors/uemacs/
-UEMACS_DIR:=$(BUILD_DIR)/em-$(UEMACS_VERSION)
-UEMACS_BINARY:=em
-UEMACS_TARGET_BINARY:=usr/bin/emacs
-
-$(DL_DIR)/$(UEMACS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(UEMACS_SITE)/$(UEMACS_SOURCE)
-
-uemacs-source: $(DL_DIR)/$(UEMACS_SOURCE)
-
-$(UEMACS_DIR)/.unpacked: $(DL_DIR)/$(UEMACS_SOURCE)
-       $(UEMACS_CAT) $(DL_DIR)/$(UEMACS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-       toolchain/patch-kernel.sh $(UEMACS_DIR) package/uemacs/ uemacs\*.patch
-       touch $(UEMACS_DIR)/.unpacked
-
-$(UEMACS_DIR)/$(UEMACS_BINARY): $(UEMACS_DIR)/.unpacked
-       $(MAKE) -C $(UEMACS_DIR) \
-       CC="$(TARGET_CC)" DEFINES="-DAUTOCONF -DPOSIX -DUSG" CFLAGS+="$(TARGET_CFLAGS) " LIBS=-lncurses
-       $(STRIPCMD) $(UEMACS_DIR)/$(UEMACS_BINARY)
-
-$(TARGET_DIR)/$(UEMACS_TARGET_BINARY): $(UEMACS_DIR)/$(UEMACS_BINARY)
-       $(INSTALL) -m 0755 -D $(UEMACS_DIR)/$(UEMACS_BINARY) $(TARGET_DIR)/$(UEMACS_TARGET_BINARY)
-
-uemacs: uclibc ncurses $(TARGET_DIR)/$(UEMACS_TARGET_BINARY)
-
-uemacs-clean:
-       rm -f $(TARGET_DIR)/$(UEMACS_TARGET_BINARY)
-       -$(MAKE) -C $(UEMACS_DIR) clean
-
-uemacs-dirclean:
-       rm -rf $(UEMACS_DIR)
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_UEMACS)),y)
-TARGETS+=uemacs
-endif