wok view llvm/receipt @ rev 15153
otf-gfs: typos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 16:19:38 2013 +0000 (2013-08-15) |
parents | 91bfb4faef77 |
children | 2a5cc8208d36 |
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.src.tar.gz"
10 WGET_URL="${WEB_SITE}releases/$VERSION/$TARBALL"
12 DEPENDS="libffi gcc-lib-base"
13 BUILD_DEPENDS="libffi-dev libffi perl"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --sysconfdir=/etc \
20 --enable-libffi \
21 --enable-optimized \
22 --enable-shared \
23 --enable-targets=all \
24 --disable-assertions \
25 --disable-debug-runtime \
26 --disable-expensive-checks \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/include $fs/usr
38 }