2013-04-27 22:50:22 +00:00
|
|
|
SUMMARY="Build tool, replacement for make"
|
2015-09-03 15:55:00 +00:00
|
|
|
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.
|
2015-01-12 18:17:48 +00:00
|
|
|
|
2015-09-03 15:55:00 +00:00
|
|
|
The main differences between Jam and Make are:
|
|
|
|
- Jam uses 'Jamfiles' instead of 'Makefiles'.
|
2014-01-02 21:40:58 +00:00
|
|
|
- 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 \
|
2015-09-03 15:55:00 +00:00
|
|
|
providing the same functionality, and much, much more."
|
2013-03-29 14:04:07 +00:00
|
|
|
HOMEPAGE="http://www.perforce.com/jam/jam.html"
|
2018-11-22 01:28:52 +00:00
|
|
|
COPYRIGHT="1993-2003 Christopher Seiwald
|
|
|
|
2005-2018 Haiku, Inc."
|
2015-09-03 15:55:00 +00:00
|
|
|
LICENSE="Jam"
|
2020-06-06 17:03:11 +00:00
|
|
|
REVISION="8"
|
|
|
|
srcGitRev="c473a032a0c45e58642aa1b785d745cf8b72016b"
|
2015-07-02 15:12:32 +00:00
|
|
|
SOURCE_URI="https://github.com/haiku/buildtools/archive/$srcGitRev.tar.gz"
|
2020-06-06 17:03:11 +00:00
|
|
|
CHECKSUM_SHA256="ebfb7cd54aa77517ebb5cf21fb65077ea4b88891a3fc478ca35a813d1b172b4f"
|
2018-08-07 06:26:26 +00:00
|
|
|
SOURCE_FILENAME="$portVersionedName.tar.gz"
|
2015-09-03 15:55:00 +00:00
|
|
|
SOURCE_DIR="buildtools-$srcGitRev/jam"
|
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all"
|
2013-04-27 22:50:22 +00:00
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
jam = $portVersion
|
|
|
|
cmd:jam = $portVersion compat >= 2.5
|
|
|
|
"
|
|
|
|
REQUIRES="
|
2014-12-14 22:08:52 +00:00
|
|
|
haiku
|
2013-04-27 22:50:22 +00:00
|
|
|
"
|
2015-09-03 15:55:00 +00:00
|
|
|
|
2013-04-27 22:50:22 +00:00
|
|
|
BUILD_REQUIRES="
|
2015-09-03 15:55:00 +00:00
|
|
|
haiku_devel
|
2013-04-27 22:50:22 +00:00
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
2013-08-04 22:14:47 +00:00
|
|
|
cmd:gcc
|
|
|
|
cmd:ld
|
2018-08-10 06:17:02 +00:00
|
|
|
cmd:make
|
2013-04-27 22:50:22 +00:00
|
|
|
"
|
|
|
|
|
2019-08-14 02:21:53 +00:00
|
|
|
defineDebugInfoPackage jam \
|
|
|
|
"$binDir"/jam
|
|
|
|
|
2013-03-29 16:31:03 +00:00
|
|
|
BUILD()
|
|
|
|
{
|
2019-08-14 02:21:53 +00:00
|
|
|
DEBUG=1 make
|
2010-04-16 22:59:37 +00:00
|
|
|
}
|
|
|
|
|
2013-03-29 16:31:03 +00:00
|
|
|
INSTALL()
|
|
|
|
{
|
2013-04-27 22:50:22 +00:00
|
|
|
mkdir -p "$binDir"
|
2019-08-14 02:21:53 +00:00
|
|
|
cp bin.haikux86/g/jam "$binDir"
|
2013-08-31 12:11:32 +00:00
|
|
|
|
2013-04-27 22:50:22 +00:00
|
|
|
mkdir -p "$docDir"
|
2013-06-16 00:02:51 +00:00
|
|
|
cp Jam.html Jambase.html Jamfile.html README* "$docDir"
|
2010-04-16 22:59:37 +00:00
|
|
|
}
|