wok-next view llvm/receipt @ rev 20402
Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 17:49:11 2017 +0200 (2017-12-05) |
parents | 384441c3ddea |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="llvm"
4 VERSION="5.0.0"
5 CATEGORY="development"
6 SHORT_DESC="LLVM (Low Level Virtual Machine): collection of modular and reusable compiler and toolchain technologies"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://llvm.org/"
11 TARBALL="$PACKAGE-$VERSION.src.tar.xz"
12 WGET_URL="${WEB_SITE}releases/$VERSION/$TARBALL"
14 BUILD_DEPENDS="cmake zlib-dev libffi-dev python"
15 SPLIT="llvm-dev llvm-libs"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build && cd build &&
21 CC=gcc CXX=g++ \
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DLLVM_ENABLE_FFI=ON \
25 -DCMAKE_BUILD_TYPE=Release \
26 -DBUILD_SHARED_LIBS=ON \
27 -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \
28 -Wno-dev .. &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 case $PACKAGE in
37 llvm)
38 DEPENDS="libffi gcc-lib-base llvm-libs"
39 copy bin/
40 ;;
41 llvm-dev)
42 DEPENDS="llvm"
43 copy include/ cmake/
44 ;;
45 llvm-libs)
46 CAT="libs|libraries"
47 DEPENDS="libffi gcc-lib-base"
48 copy *.so*
49 ;;
50 esac
51 }