Files
haikuports/sys-devel/jam/jam-2.5_2018_11_21.recipe

60 lines
1.5 KiB
Bash

SUMMARY="Build tool, replacement for make"
DESCRIPTION="Jam is a small open-source build tool that can be used as a \
replacement for Make. Even though Jam is a lot simpler to use than Make, \
it is far more powerful and easy to master. Its design is sufficiently \
clear to allow any average programmer to extend it with advanced features \
at will.
The main differences between Jam and Make are:
- Jam uses 'Jamfiles' instead of 'Makefiles'.
- Jamfiles do not normally contain toolset-specific rules or actions. They are \
thus portable among distinct compilers.
- Jamfiles are a lot simpler than Makefiles to write and understand, while \
providing the same functionality, and much, much more."
HOMEPAGE="http://www.perforce.com/jam/jam.html"
COPYRIGHT="1993-2003 Christopher Seiwald
2005-2018 Haiku, Inc."
LICENSE="Jam"
REVISION="7"
srcGitRev="18e01e2af6dd1a4145d91f47cc1d658a36b0bd56"
SOURCE_URI="https://github.com/haiku/buildtools/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="0d44d06d18530d453d9b444732cea7f838543e323ebb00cde0323a5e7f13c171"
SOURCE_FILENAME="$portVersionedName.tar.gz"
SOURCE_DIR="buildtools-$srcGitRev/jam"
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
PROVIDES="
jam = $portVersion
cmd:jam = $portVersion compat >= 2.5
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:ld
cmd:make
"
defineDebugInfoPackage jam \
"$binDir"/jam
BUILD()
{
DEBUG=1 make
}
INSTALL()
{
mkdir -p "$binDir"
cp bin.haikux86/g/jam "$binDir"
mkdir -p "$docDir"
cp Jam.html Jambase.html Jamfile.html README* "$docDir"
}