29 lines
652 B
Plaintext
29 lines
652 B
Plaintext
# Description: LLVM including clang
|
|
# URL: http://llvm.org
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Packager: Tilman Sauerbeck, tilman at crux dot nu
|
|
# Depends on: python
|
|
|
|
name=llvm
|
|
version=3.3
|
|
release=1
|
|
source=(http://llvm.org/releases/$version/{$name,cfe}-$version.src.tar.gz)
|
|
|
|
build() {
|
|
mv cfe-$version.src $name-$version.src/tools/clang
|
|
|
|
cd $name-$version.src
|
|
|
|
./configure --prefix=/usr --without-oprofile
|
|
|
|
make $MAKEFLAGS
|
|
make DESTDIR=$PKG install
|
|
|
|
# Unfortunately, llvm's configure script seems to ignore --mandir.
|
|
mv $PKG/usr/share/man $PKG/usr
|
|
rmdir $PKG/usr/share
|
|
|
|
find $PKG -name .dir -delete
|
|
rm -rf $PKG/usr/docs
|
|
}
|