zsh: remove old versions, recipe for 5.0.7, provide cmd:sh.

This commit is contained in:
Augustin Cavalier
2015-01-16 01:13:32 -05:00
parent 59ca0d1825
commit f739d9ab5f
4 changed files with 11 additions and 97 deletions

View File

@@ -0,0 +1,53 @@
SUMMARY="Zsh is a UNIX command interpreter (shell)"
DESCRIPTION="Zsh is a shell designed for interactive use, although it \
is also a powerful scripting language. Many of the useful features of \
bash, ksh, and tcsh were incorporated into zsh; many original features \
were added."
HOMEPAGE="http://www.zsh.org"
LICENSE="ZSH"
COPYRIGHT="1992-2014, Paul Falstad, Richard Coleman, Zoltán Hidvégi, Andrew Main, Peter Stephenson, Sven Wishnowsky, and others."
SRC_URI="http://sourceforge.net/projects/zsh/files/zsh/$portVersion/zsh-$portVersion.tar.bz2"
CHECKSUM_SHA256="544e27de81740286b916d1d77c9f48ad7c26ad7943ed96d278abee67cf6704b3"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="zsh-$portVersion.patchset"
PROVIDES="
zsh = $portVersion compat >= 5
cmd:zsh = $portVersion compat >= 5
cmd:zsh_$portVersion = $portVersion compat >= 5
cmd:sh
"
REQUIRES="
haiku
lib:libncurses
lib:libpcre
"
BUILD_REQUIRES="
devel:libncurses
devel:libpcre
"
BUILD_PREREQUIRES="
haiku_devel
cmd:autoconf
cmd:find
cmd:gcc
cmd:ld
cmd:make
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
ln -s zsh $binDir/sh
}
TEST()
{
make check
}