summaryrefslogtreecommitdiff
path: root/recipes/zsh/zsh_4.1.1.bb
blob: 3c5cc85b83ce1e7acd7f27f30987fd48e9a70304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}