mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
zsh: add recipe for version 5.2.
This commit is contained in:
66
app-shells/zsh/zsh-5.2.recipe
Normal file
66
app-shells/zsh/zsh-5.2.recipe
Normal file
@@ -0,0 +1,66 @@
|
||||
SUMMARY="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://zsh.sourceforge.net"
|
||||
COPYRIGHT="1992-2014, Paul Falstad, Richard Coleman, Zoltán Hidvégi, \
|
||||
Andrew Main, Peter Stephenson, Sven Wishnowsky, and others"
|
||||
LICENSE="ZSH"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://sourceforge.net/projects/zsh/files/zsh/$portVersion/zsh-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="f17916320ffaa844bbd7ce48ceeb5945fc5f3eff64b149b4229bbfbdf3795a9d"
|
||||
PATCHES="zsh-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
zsh$secondaryArchSuffix = $portVersion compat >= 5
|
||||
cmd:zsh$secondaryArchSuffix = $portVersion compat >= 5
|
||||
cmd:zsh_$portVersion$secondaryArchSuffix = $portVersion compat >= 5
|
||||
cmd:sh$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libncurses$secondaryArchSuffix
|
||||
lib:libpcre$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
devel:libpcre$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:find
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld
|
||||
cmd:make
|
||||
cmd:sed
|
||||
cmd:awk
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
CFLAGS=-D_BSD_SOURCE runConfigure ./configure \
|
||||
--enable-zshrc=`finddir B_USER_SETTINGS_DIRECTORY`/zsh/.zshrc \
|
||||
--sysconfdir=`finddir B_USER_SETTINGS_DIRECTORY`/zsh \
|
||||
--enable-etcdir=`finddir B_USER_SETTINGS_DIRECTORY`/zsh
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
ln -s zsh $binDir/sh
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user