Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=182724167804d99d2b62df6f4794e7d74bc1842a
commit 182724167804d99d2b62df6f4794e7d74bc1842a Author: DeX77 <[email protected]> Date: Mon Jul 11 15:37:39 2016 +0200 llvm-3.8.1-1-x86_64 * version bump * temp use of SVN + Tag diff --git a/source/devel/llvm/FrugalBuild b/source/devel/llvm/FrugalBuild index 8efb150..3e33ac6 100644 --- a/source/devel/llvm/FrugalBuild +++ b/source/devel/llvm/FrugalBuild @@ -2,8 +2,8 @@ # Maintainer: Marius Cirsta <[email protected]> pkgname=llvm -pkgver=3.8.0 -pkgrel=5 +pkgver=3.8.1 +pkgrel=1 gcc_ver=5.4.0 url="http://www.llvm.org" pkgdesc="Low Level Virtual Machine (Compiler , Tools and Libs)" @@ -16,12 +16,20 @@ makedepends=("${makedepends[@]}" 'libstdc++>=5.3.0-2' 'binutils>=2.25.1-6' 'glib rodepends=("$pkgname-libs") groups=('devel') archs=('i686' 'x86_64' 'arm') + +#TODO: reenable after tarball fix +#source=(http://llvm.org/releases/$pkgver/$pkgname-$pkgver.src.tar.xz \ +# http://llvm.org/releases/$pkgver/cfe-$pkgver.src.tar.xz) + +_F_scm_type="subversion" +_F_scm_url="http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_381/final" +Finclude scm up2date="Flastarchive $url/releases/download.html .src.tar.xz" -source=(http://llvm.org/releases/$pkgver/$pkgname-$pkgver.src.tar.xz \ - http://llvm.org/releases/$pkgver/cfe-$pkgver.src.tar.xz) _F_archive_ver="${pkgver}.src" -signatures=("${source[0]}.sig" "${source[1]}.sig" ) +#TODO: reenable after tarball fix +#signatures=("${source[0]}.sig" "${source[1]}.sig" ) +_F_cd_path="llvm" subpkgs=("${subpkgs[@]}" "clang") subdescs=("${subdescs[@]}" "C language family frontend for LLVM") @@ -68,12 +76,15 @@ Finclude cmake options+=('static') build() { - + Funpack_scm Fcd # clang must be copied here to build with llvm Fexec rm -rf tools/clang - Fexec mv -f ../cfe-${_F_archive_ver}/ tools/clang + +#TODO: reenable after tarball fix +# Fexec mv -f ../cfe-${_F_archive_ver}/ tools/clang + Fexec svn co "http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_381/final" tools/clang # Fix for genesis32 @@ -92,6 +103,7 @@ build() { CMake_install + # Install man pages Fmkdir usr/share/man/man1 Fcp ${_F_cd_path}/docs/_build/man/*.1 usr/share/man/man1/ @@ -108,9 +120,9 @@ build() { Fcp ${_F_cd_path}/tools/clang/docs/_build/html/* usr/share/doc/$pkgname-$pkgver/html/clang Frm usr/share/doc/$pkgname-$pkgver/html/clang/_sources - # Install html docs of llvm-ocaml - Fmkdir usr/share/doc/$pkgname-$pkgver/ocamldoc - Fcp ${_F_cd_path}/${_F_cmake_build_dir}/docs/ocamldoc/html/* usr/share/doc/$pkgname-$pkgver/ocamldoc + # Install html docs of llvm-ocaml + Fmkdir usr/share/doc/$pkgname-$pkgver/ocamldoc + Fcp ${_F_cd_path}/${_F_cmake_build_dir}/docs/ocamldoc/html/* usr/share/doc/$pkgname-$pkgver/ocamldoc Fmv usr/docs/ocaml/html usr/share/doc/$pkgname-$pkgver/ocamldoc/ Frm usr/docs _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
