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

56 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"
LICENSE="Jam"
REVISION="2"
srcGitRev="278de7bc9243876c2e08f8d6a243d510c5000462"
SOURCE_URI="https://github.com/haiku/buildtools/archive/$srcGitRev.tar.gz"
SOURCE_FILENAME="$portVersionedName.tar.gz"
CHECKSUM_SHA256="d9238f91caea1b6989b3331685c3713ab4dde50e1b0b6ab8c254047d4849186f"
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:make
cmd:ld
"
BUILD()
{
make
}
INSTALL()
{
mkdir -p "$binDir"
cp bin.haikux86/jam "$binDir"
mkdir -p "$docDir"
cp Jam.html Jambase.html Jamfile.html README* "$docDir"
}