Skip to contentSkip to conversation

svn commit: trunk/buildroot/package: screen

Buildroot nkukard at uclibc.org 1 participant 1 message May 1, 2008

lore
Share & tools
lore
#0 lore raw

Author: nkukard
Date: 2008-05-01 12:33:44 -0700 (Thu, 01 May 2008) New Revision: 21915

Log:
* Added screen
The cross compile fix is unavoidable

Added:
trunk/buildroot/package/screen/ trunk/buildroot/package/screen/Config.in trunk/buildroot/package/screen/screen-4.0.2-cross_compile_fix.patch trunk/buildroot/package/screen/screen-4.0.2_install-fix.patch trunk/buildroot/package/screen/screen.mk

Modified:
trunk/buildroot/package/Config.in

Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================

buildroot/package/Config.in +1 -0
@@ -107,6 +107,7 @@
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/rpm/Config.in"
 endif
+source "package/screen/Config.in"
 source "package/sqlite/Config.in"
 source "package/startup-notification/Config.in"
 source "package/strace/Config.in"

Added: trunk/buildroot/package/screen/Config.in
===================================================================

buildroot/package/screen/Config.in +13 -0
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_SCREEN
+	bool "screen"
+	default n
+	select BR2_PACKAGE_NCURSES
+	help
+	  Screen is a full-screen window manager that multiplexes a physical 
+	  terminal between several processes, typically interactive shells. 
+	  Each virtual terminal provides the functions of the DEC VT100 
+	  terminal and, in addition, several control functions from the ANSI 
+	  X3.64 (ISO 6429) and ISO 2022 standards (e.g., insert/delete line 
+	  and support for multiple character sets).
+
+	  http://www.gnu.org/software/screen/

Added: trunk/buildroot/package/screen/screen-4.0.2-cross_compile_fix.patch
===================================================================

buildroot/package/screen/screen-4.0.2-cross_compile_fix.patch +524 -0

524 lines not on this page · raw message

Added: trunk/buildroot/package/screen/screen-4.0.2_install-fix.patch
===================================================================

buildroot/package/screen/screen-4.0.2_install-fix.patch +17 -0
@@ -0,0 +1,17 @@
+diff -ru screen-4.0.2_vanilla/Makefile.in screen-4.0.2_install-fix/Makefile.in
+--- screen-4.0.2_vanilla/Makefile.in	2003-12-05 13:59:39.000000000 +0000
++++ screen-4.0.2_install-fix/Makefile.in	2008-05-01 10:47:49.000000000 +0000
+@@ -74,11 +74,12 @@
+ 	-if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \
+ 		then mv $(DESTDIR)$(bindir)/$(SCREEN) $(DESTDIR)$(bindir)/$(SCREEN).old; fi
+ 	$(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN)
+-	-chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
++	-chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
+ # This doesn't work if $(bindir)/screen is a symlink
+ 	-if [ -f $(DESTDIR)$(bindir)/screen ] && [ ! -f $(DESTDIR)$(bindir)/screen.old ]; then mv $(DESTDIR)$(bindir)/screen $(DESTDIR)$(bindir)/screen.old; fi
+ 	rm -f $(DESTDIR)$(bindir)/screen
+ 	(cd $(DESTDIR)$(bindir) && ln -sf $(SCREEN) screen)
++	mkdir -p $(DESTDIR)$(SCREENENCODINGS)
+ 	cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS)
+ 
+ ###############################################################################

Added: trunk/buildroot/package/screen/screen.mk
===================================================================

buildroot/package/screen/screen.mk +17 -0
@@ -0,0 +1,17 @@
+#############################################################
+#
+# screen
+#
+#############################################################
+SCREEN_VERSION = 4.0.2
+SCREEN_SITE = $(BR2_GNU_MIRROR)/screen
+
+SCREEN_DEPENDENCIES = ncurses
+
+SCREEN_CONF_ENV = CFLAGS=-DSYSV=1
+
+SCREEN_MAKE_OPT = -j1
+
+SCREEN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) SCREEN=screen install_bin
+
+$(eval $(call AUTOTARGETS,package,screen))