summaryrefslogtreecommitdiff
path: root/llvm/Pkgfile
blob: ccde56c7cbfa5ed283d080a17e85a0aa4060586b (plain)
    1 # Description: LLVM including clang
    2 # URL: http://llvm.org
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 # Packager: Tilman Sauerbeck, tilman at crux dot nu
    5 # Depends on: python
    6 
    7 name=llvm
    8 version=3.2
    9 release=1
   10 source=(http://llvm.org/releases/$version/{$name,clang}-$version.src.tar.gz)
   11 
   12 build() {
   13 	mv clang-$version.src $name-$version.src/tools/clang
   14 
   15 	cd $name-$version.src
   16 
   17 	./configure --prefix=/usr --without-oprofile
   18 
   19 	make
   20 	make DESTDIR=$PKG install
   21 
   22 	# Unfortunately, llvm's configure script seems to ignore --mandir.
   23 	mv $PKG/usr/share/man $PKG/usr
   24 	rmdir $PKG/usr/share
   25 
   26 	find $PKG -name .dir -delete
   27 	rm -rf $PKG/usr/docs
   28 }

Generated by cgit