wok view llvm/receipt @ rev 17825

Up: slitaz-configs(5.5.7)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Mar 22 22:03:24 2015 +0100 (2015-03-22)
parents 677777981522
children 09581cbfaf3e
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 gcc-lib-base"
14 BUILD_DEPENDS="libffi-dev libffi perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --sysconfdir=/etc \
21 --enable-libffi \
22 --enable-optimized \
23 --enable-shared \
24 --enable-targets=all \
25 --disable-assertions \
26 --disable-debug-runtime \
27 --disable-expensive-checks \
28 --disable-compiler-version-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 }