58 lines
1.2 KiB
Bash
58 lines
1.2 KiB
Bash
SUMMARY="A compiler-compiler tool for aspect-oriented programming"
|
|
DESCRIPTION="\
|
|
Tree Compiler-Compiler (treecc) is designed to assist in the development of \
|
|
compilers and other language- based tools. It manages the generation of code \
|
|
to handle abstract syntax trees and operations upon the trees."
|
|
HOMEPAGE="http://www.gnu.org/software/dotgnu/treecc/treecc.html"
|
|
COPYRIGHT="2001-2003 Southern Storm Software, Pty Ltd
|
|
2003 Free Software Foundation, Inc.
|
|
"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://download.savannah.gnu.org/releases/dotgnu-pnet/treecc-0.3.10.tar.gz"
|
|
CHECKSUM_SHA256="5e9d20a6938e0c6fedfed0cabc7e9e984024e4881b748d076e8c75f1aeb6efe7"
|
|
PATCHES="treecc-0.3.10.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
treecc = $portVersion
|
|
cmd:treecc = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:bison
|
|
cmd:gcc
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sed -i "s/expr_c_LDADD = -lm/expr_c_LDADD = /" examples/Makefile*
|
|
libtoolize -fci
|
|
aclocal
|
|
autoconf
|
|
automake --add-missing
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libtreecc.a
|
|
# mkdir -p $binDir
|
|
# cp -a objects/projectx $binDir
|
|
}
|