mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Convert jam-2.5.recipe to an actual recipe.
This commit is contained in:
@@ -1,21 +1,59 @@
|
||||
DESCRIPTION="jam"
|
||||
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 as follows:
|
||||
|
||||
- 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"
|
||||
LICENSE="Jam"
|
||||
COPYRIGHT="1993-2003 Christopher Seiwald"
|
||||
SRC_URI="git://git.haiku-os.org/buildtools"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
#CHECKSUM_MD5=""
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
jam = $portVersion
|
||||
cmd:jam = $portVersion compat >= 2.5
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:ld
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
SOURCE_DIR="$portVersionedName/jam"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd jam-2.5/jam
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd jam-2.5/jam
|
||||
mkdir -p ${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY`
|
||||
cp -a bin.haikux86/jam ${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY`/jam
|
||||
mkdir -p "$binDir"
|
||||
cp bin.haikux86/jam "$binDir"
|
||||
|
||||
mkdir -p "$docDir"
|
||||
cp Jam.html README* "$docDir"
|
||||
|
||||
mkdir -p "$developDocDir"
|
||||
cp Jambase.html Jamfile.html "$developDocDir"
|
||||
}
|
||||
LICENSE="Jam"
|
||||
COPYRIGHT="1993-2003 Christopher Seiwald"
|
||||
|
||||
Reference in New Issue
Block a user