54 lines
1.4 KiB
Bash
54 lines
1.4 KiB
Bash
SUMMARY="Build tool, replacement for jam"
|
|
DESCRIPTION="Ham is a a meaty Jam build tool replacement
|
|
THIS IS A WORK IN PROGRESS AND NOT YET READY FOR HAIKUDEPOT
|
|
One of the main goals is to have an API library, so that IDEs can implement \
|
|
actual Jam support. Another one is to add features that are complicated to add \
|
|
in Jam (like more intelligent header scanning, plug-in support (for header \
|
|
scanning, archive types), dependence of targets on their actual actions (i.e. \
|
|
Jamfile change would trigger rebuild of affected targets)"
|
|
HOMEPAGE="https://github.com/weinhold/Ham"
|
|
COPYRIGHT="2010-2013 Ingo Weinhold"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="git+https://github.com/weinhold/Ham#b83d767047a93ed58717a6c7662b8838342a54fb"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
ham${secondaryArchSuffix} = $portVersion
|
|
cmd:ham${secondaryArchSuffix} = $portVersion
|
|
lib:libham${secondaryArchSuffix} = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc${secondaryArchSuffix}
|
|
cmd:jam
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
jam $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $binDir
|
|
mkdir -p $libDir
|
|
cp -a generated/objects/haiku/x86/release/ham $binDir
|
|
cp -a generated/objects/haiku/x86/release/libham.so $libDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
LIBRARY_PATH=$LIBRARY_PATH:generated/objects/haiku/x86/release \
|
|
generated/objects/haiku/x86/release/ham-tests
|
|
}
|