wok-current view llvm/receipt @ rev 18150
Up: pcmanfm,libfm(git), libtasn1(4.5)
to exclude builtin libtasn1 from libgnutls* , no more rebuilds needed
to exclude builtin libtasn1 from libgnutls* , no more rebuilds needed
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Jun 19 19:56:46 2015 +0200 (2015-06-19) |
parents | 7d5789c51e7e |
children | bcf7d6192b2d |
line source
1 # SliTaz package receipt.
3 PACKAGE="llvm"
4 VERSION="3.6.0"
5 CATEGORY="development"
6 SHORT_DESC="Modular compiler toolchain collection."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://llvm.org/"
10 TARBALL="$PACKAGE-$VERSION.src.tar.xz"
11 WGET_URL="${WEB_SITE}releases/$VERSION/$TARBALL"
13 DEPENDS="libffi gcc49-lib-base"
14 BUILD_DEPENDS="libffi-dev libffi perl gcc49"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH"
20 ./configure CC=gcc-49 CXX=g++-49 \
21 --prefix=/usr --sysconfdir=/etc \
22 --enable-libffi \
23 --enable-optimized \
24 --enable-shared \
25 --enable-targets=all \
26 --disable-assertions \
27 --disable-debug-runtime \
28 --disable-expensive-checks \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/include $fs/usr
40 }