Files
haikuports/app-shells/fish/fish-1.23.1_git.recipe
2014-01-05 04:12:45 -08:00

69 lines
1.5 KiB
Plaintext

SUMMARY="The friendly interactive shell"
DESCRIPTION="
Fish is a shell geared towards interactive use. Its features are \
focused on user friendliness and discoverability. The language syntax \
is simple but incompatible with other shell languages.
"
HOMEPAGE="http://ridiculousfish.com/shell/"
SRC_URI="git://git.gitorious.org/fish-shell/fish-shell.git"
#CHECKSUM_MD5=""
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2009 Axel Liljencrantz"
ARCHITECTURES="x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
fish$secondaryArchSuffix = $portVersion
cmd:fish = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
lib:libgettextlib_0.18.1$secondaryArchSuffix >= 0.18.1.1
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libiconv$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix >= 5.9
devel:libgettextlib$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:libtoolize
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:which
cmd:doxygen >= 1.6.3
"
PATCHES="fish-1.23.1_git.patch"
BUILD()
{
libtoolize --force --copy --install
autoconf
runConfigure ./configure --without-xsel
make
}
INSTALL()
{
make install
}
TEST()
{
make test
}