wok view llvm/receipt @ rev 13784

Add llvm (thanks ernia)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 04 18:16:39 2013 +0100 (2013-01-04)
parents
children 153b140a1600
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 WEB_SITE="http://llvm.org/"
9 #TARBALL="$PACKAGE-$VERSION.tar.gz"
10 TARBALL="$PACKAGE-${VERSION}_${VERSION}.orig.tar.bz2"
11 WGET_URL="http://ftp.de.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE-$VERSION/$TARBALL"
12 #SUGGESTED="udevil"
14 DEPENDS="libffi gcc-lib-base"
15 BUILD_DEPENDS="libffi-dev libffi perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --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 }