wok view llvm/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (8 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 }