wok view llvm/receipt @ rev 25705
fusecloop/extract_compressed_fs: can convert to v0.68 or v1.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 22 12:48:49 2024 +0000 (4 months ago) |
parents | 453c249b6219 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="llvm"
4 VERSION="3.2"
5 CATEGORY="development"
6 SHORT_DESC="Modular compiler toolchain collection."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://llvm.org/"
10 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
11 WGET_URL="${WEB_SITE}releases/$VERSION/$TARBALL"
13 DEPENDS="libffi gcc-lib-base"
14 BUILD_DEPENDS="libffi-dev libffi perl gcc"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/llvm/llvm-project/releases 2>/dev/null | \
20 sed '/-rc/d;/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure CC=gcc CXX=g++ \
27 --prefix=/usr --sysconfdir=/etc \
28 --enable-libffi \
29 --enable-optimized \
30 --enable-shared \
31 --enable-targets=all \
32 --disable-assertions \
33 --disable-debug-runtime \
34 --disable-expensive-checks \
35 $CONFIGURE_ARGS &&
36 make && make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/usr/include $fs/usr
46 }