2010-10-25 11:36:54 +02:00
|
|
|
# Template file for 'libclang'.
|
|
|
|
#
|
|
|
|
short_desc="Low-Level Virtual Machine (LLVM), C language family frontend library"
|
|
|
|
long_desc="
|
|
|
|
Clang project is a new C, C++, Objective C and Objective C++ front-end for
|
|
|
|
the LLVM compiler. Some of its goals include the following:
|
|
|
|
|
|
|
|
End-User Features:
|
|
|
|
|
|
|
|
* Fast compiles and low memory use
|
|
|
|
* Expressive diagnostics (examples)
|
|
|
|
* GCC compatibility
|
|
|
|
|
|
|
|
Utility and Applications:
|
|
|
|
|
|
|
|
* Modular library based architecture
|
|
|
|
* Support diverse clients (refactoring, static analysis, code
|
|
|
|
generation, etc)
|
|
|
|
* Allow tight integration with IDEs
|
|
|
|
* Use the LLVM 'BSD' License
|
|
|
|
|
|
|
|
Internal Design and Implementation:
|
|
|
|
|
|
|
|
* A real-world, production quality compiler
|
|
|
|
* A simple and hackable code base
|
|
|
|
* A single unified parser for C, Objective C, C++, and Objective C++
|
|
|
|
* Conformance with C/C++/ObjC and their variants
|
|
|
|
|
|
|
|
This package includes the shared library used by the Clang frontend."
|
|
|
|
|
2011-11-06 09:54:22 +01:00
|
|
|
revision=1
|
|
|
|
|
2010-10-25 11:36:54 +02:00
|
|
|
Add_dependency run libgcc
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libffi
|
|
|
|
Add_dependency run libstdc++
|
|
|
|
Add_dependency run libllvm
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
install -d ${DESTDIR}/usr/lib
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/libclang.so* ${DESTDIR}/usr/lib
|
|
|
|
}
|