Files
haikuports/sys-devel/clang/clang-3.0.recipe
Oliver Tappe 60aba35d64 * convert all .bep files to follow shell syntax
* rename all .bep files to .recipe
2013-03-29 16:31:03 +00:00

29 lines
713 B
Plaintext

DESCRIPTION="clang: an llvm front end compiler for C and C++"
HOMEPAGE="http://www.llvm.org/"
SRC_URI="http://llvm.org/releases/3.0/llvm-3.0.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="groff"
CHECKSUM_MD5="a8e5f5f1c1adebae7b4a654c376a6005"
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
BUILD()
{
cd llvm-3.0.src/tools
wget "http://llvm.org/releases/3.0/clang-3.0.tar.gz"
echo "Extracting clang llvm tool..."
tar xzf clang-3.0.tar.gz
mv clang-3.0.src clang
cd ..
./configure --enable-optimized --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL()
{
cd llvm-3.0.src
make install
}
LICENSE="UIUC"
COPYRIGHT="2003-2010 University of Illinois at Urbana-Champaign"