wok-next view llvm/receipt @ rev 21098
poppler: provide lib$PACKAGE for libs like some other packages do
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jan 01 15:48:26 2019 +0200 (2019-01-01) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="llvm"
4 VERSION="7.0.0"
5 CATEGORY="development"
6 SHORT_DESC="LLVM (Low Level Virtual Machine): collection of modular and \
7 reusable compiler and toolchain technologies"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="http://llvm.org/"
12 TARBALL="$PACKAGE-$VERSION.src.tar.xz"
13 WGET_URL="${WEB_SITE}releases/$VERSION/$TARBALL"
14 TARBALL_SHA1="27503a22614626e935a05b609ab4211be72cd78b"
16 BUILD_DEPENDS="cmake zlib-dev libffi-dev ninja"
17 SPLIT="libllvm $PACKAGE $PACKAGE-dev"
19 DEPENDS_std="libffi libllvm"
20 DEPENDS_libllvm="libffi"
22 compile_rules() {
23 mkdir build
24 cd build
26 CC=gcc CXX=g++ \
27 cmake \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DLLVM_ENABLE_FFI=ON \
30 -DCMAKE_BUILD_TYPE=Release \
31 -DLLVM_BUILD_LLVM_DYLIB=ON \
32 -DLLVM_LINK_LLVM_DYLIB=ON \
33 -DLLVM_TARGETS_TO_BUILD="host;AMDGPU;BPF" \
34 -DLLVM_BUILD_TESTS=ON \
35 -Wno-dev \
36 -G Ninja \
37 .. &&
38 ninja install
39 }
41 PROVIDE_libllvm="llvm-libs"