diff options
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | package/Config.in | 1 | ||||
-rw-r--r-- | package/python2/Makefile | 1 | ||||
-rw-r--r-- | package/tcsh/Makefile | 27 | ||||
-rw-r--r-- | package/tcsh/patches/patch-Makefile_in | 12 | ||||
-rw-r--r-- | package/tcsh/patches/patch-config_linux | 10 |
6 files changed, 52 insertions, 3 deletions
@@ -1,6 +1,4 @@ -- implement update for MTD devices (rb532,ag241) -- network scripts for wireless client and acess point -- add tcsh and describe new package creation procedure in wiki +- implement update for MTD devices (ag241) - add toolchain only support for generic toolchains (mips/ppc/..) - fix watchdog for alix1c (mfgpt timers problem) - netbsd build diff --git a/package/Config.in b/package/Config.in index c3f146803..b6450f22c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -133,6 +133,7 @@ endmenu menu "Shells" source "package/bash/Config.in" source "package/mksh/Config.in" +source "package/tcsh/Config.in" source "package/zsh/Config.in" endmenu diff --git a/package/python2/Makefile b/package/python2/Makefile index b7ceaa372..56aaa9062 100644 --- a/package/python2/Makefile +++ b/package/python2/Makefile @@ -49,5 +49,6 @@ post-install: ${INSTALL_BIN} ${WRKINST}/usr/bin/python ${IDIR_PYTHON2}/usr/bin ${CP} ${WRKINST}/usr/lib/libpython*.so* ${IDIR_PYTHON2}/usr/lib ${CP} ${WRKINST}/usr/lib/python2.6/* ${IDIR_PYTHON2}/usr/lib/python2.6 + -find ${IDIR_PYTHON2} -name \*.pyo -exec rm {} \; include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/tcsh/Makefile b/package/tcsh/Makefile new file mode 100644 index 000000000..ac8424831 --- /dev/null +++ b/package/tcsh/Makefile @@ -0,0 +1,27 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= tcsh +PKG_VERSION:= 6.17.00 +PKG_RELEASE:= 1 +PKG_MD5SUM:= c47de903e3d52f6824c8dd0c91eeb477 +PKG_DESCR:= alternative csh +PKG_SECTION:= shell +PKG_DEPENDS:= libncurses +PKG_BUILDDEP+= ncurses +PKG_URL:= http://www.tcsh.org/Welcome +PKG_SITES:= ftp://ftp.astron.com/pub/tcsh/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,TCSH,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes + +post-install: + $(INSTALL_DIR) $(IDIR_TCSH)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/tcsh $(IDIR_TCSH)/usr/bin + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/tcsh/patches/patch-Makefile_in b/package/tcsh/patches/patch-Makefile_in new file mode 100644 index 000000000..aaeae79aa --- /dev/null +++ b/package/tcsh/patches/patch-Makefile_in @@ -0,0 +1,12 @@ +use host compiler and flags +--- tcsh-6.17.00.orig/Makefile.in 2009-06-25 00:09:05.000000000 +0200 ++++ tcsh-6.17.00/Makefile.in 2010-02-13 21:01:33.000000000 +0100 +@@ -365,7 +365,7 @@ pure:$(P) ${OBJS} + + gethost: gethost.c sh.err.h tc.const.h sh.h + rm -f gethost +- ${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} $(srcdir)/gethost.c ${LIBES} ${EXTRALIBS} ++ ${HOSTCC} -o gethost ${HOSTLDFLAGS} ${HOSTCFLAGS} ${HOSTCPPFLAGS} $(srcdir)/gethost.c ${LIBES} + + tc.defs.c: gethost host.defs + @rm -f $@.tmp diff --git a/package/tcsh/patches/patch-config_linux b/package/tcsh/patches/patch-config_linux new file mode 100644 index 000000000..bec2a22e4 --- /dev/null +++ b/package/tcsh/patches/patch-config_linux @@ -0,0 +1,10 @@ +--- tcsh-6.17.00.orig/config/linux 2006-01-12 20:55:39.000000000 +0100 ++++ tcsh-6.17.00/config/linux 2010-01-06 18:45:10.937855487 +0100 +@@ -106,6 +106,6 @@ + #endif + #define ECHO_STYLE BOTH_ECHO + +-#define NLS_CATALOGS ++#undef NLS_CATALOGS + + #endif /* _h_config */ |