diff options
Diffstat (limited to 'recipes/zsh')
-rw-r--r-- | recipes/zsh/zsh-4.1.1/configure.patch | 27 | ||||
-rw-r--r-- | recipes/zsh/zsh_4.1.1.bb | 25 |
2 files changed, 52 insertions, 0 deletions
diff --git a/recipes/zsh/zsh-4.1.1/configure.patch b/recipes/zsh/zsh-4.1.1/configure.patch new file mode 100644 index 0000000000..3533d484b3 --- /dev/null +++ b/recipes/zsh/zsh-4.1.1/configure.patch @@ -0,0 +1,27 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- zsh-4.1.1/zshconfig.ac~configure ++++ zsh-4.1.1/zshconfig.ac +@@ -460,7 +460,7 @@ + AC_PROG_MAKE_SET dnl Does make define $MAKE + AC_PROG_INSTALL dnl Check for BSD compatible `install' + AC_PROG_AWK dnl Check for mawk,gawk,nawk, then awk. +-AC_PROG_LN dnl Check for working ln, for "make install" ++AC_PROG_LN_S dnl Check for working ln, for "make install" + AC_CHECK_PROGS([YODL], [yodl], [: yodl]) + AC_CHECK_PROGS([ANSI2KNR], [ansi2knr], [: ansi2knr]) + +--- zsh-4.1.1/Src/Makefile.in~configure ++++ zsh-4.1.1/Src/Makefile.in +@@ -35,7 +35,7 @@ + sdir = @srcdir@ + sdir_top = @top_srcdir@ + INSTALL = @INSTALL@ +-LN = @LN@ ++LN = @LN_S@ + + @DEFS_MK@ + diff --git a/recipes/zsh/zsh_4.1.1.bb b/recipes/zsh/zsh_4.1.1.bb new file mode 100644 index 0000000000..3c5cc85b83 --- /dev/null +++ b/recipes/zsh/zsh_4.1.1.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "The Zsh shell" +SECTION = "base/shell" +PRIORITY = "optional" +DEPENDS = "ncurses libpcre" +PR = "r2" +LICENSE = "zsh" + +SRC_URI = "http://www.zsh.org/pub/old/zsh-${PV}.tar.bz2 \ + file://configure.patch;patch=1" + +inherit autotools + +EXTRA_OECONF = "--with-curses-terminfo" +PARALLEL_MAKE = "" + +do_configure_prepend () { + if [ ! -e acinclude.m4 ]; then + cat aczsh.m4 > acinclude.m4 + fi +} + +#kill symlink +do_install_append () { + mv ${D}${bindir}/zsh-${PV} ${D}${bindir}/zsh +} |