Files
haikuports/sys-devel/openwatcom/openwatcom-2.0.0.recipe
2015-01-19 14:56:02 +01:00

50 lines
1.1 KiB
Plaintext

SUMMARY="C/C++ compiler targetting DOS and Win16/32 machines"
DESCRIPTION="
Open Watcom is a project of the open source community to maintain and enhance \
the Watcom C, C++, and Fortran cross compilers and tools. An Open Source \
license from Sybase allows free commercial and non-commercial use of Open\
Watcom."
HOMEPAGE="https://github.com/open-watcom/open-watcom-v2"
LICENSE="Open Watcom Public Licence v1.0"
COPYRIGHT="Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved."
REVISION="1"
ARCHITECTURES=""
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
SRC_URI="git@github.com:open-watcom/open-watcom-v2.git#7d23ba88ff2a81660b2a48e4b73d2fcbcb36b837"
PATCHES="openwatcom-$portVersion.patchset"
PROVIDES="
openwatcom$secondaryArchSuffix = $portVersion
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:awk
cmd:cc$secondaryArchSuffix
cmd:make
cmd:which
"
BUILD()
{
. ./setvars.sh
./build.sh
}
INSTALL()
{
false
}
TEST()
{
false
}