60 lines
1.5 KiB
Bash
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="8"
|
|
srcGitRev="c473a032a0c45e58642aa1b785d745cf8b72016b"
|
|
SOURCE_URI="https://github.com/haiku/buildtools/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="ebfb7cd54aa77517ebb5cf21fb65077ea4b88891a3fc478ca35a813d1b172b4f"
|
|
SOURCE_FILENAME="$portVersionedName.tar.gz"
|
|
SOURCE_DIR="buildtools-$srcGitRev/jam"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
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"
|
|
}
|