summaryrefslogtreecommitdiff
path: root/package/uemacs/uemacs.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-03-07 10:00:04 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-03-07 10:00:04 +0000
commitd47bd2de38a6a7efb5e104c37af5761b530629a8 (patch)
treefc445a15868d0e04690efefced8a481963ff5f6c /package/uemacs/uemacs.mk
parent5381e1c4862578b1265cdbe66cf65db3d7ca3b22 (diff)
buildroot: move editors under package/editors and merge menus
Based on patch by Arnar Mar Sig.
Diffstat (limited to 'package/uemacs/uemacs.mk')
-rw-r--r--package/uemacs/uemacs.mk48
1 files changed, 0 insertions, 48 deletions
diff --git a/package/uemacs/uemacs.mk b/package/uemacs/uemacs.mk
deleted file mode 100644
index 5abe943ee..000000000
--- a/package/uemacs/uemacs.mk
+++ /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