wok-6.x view llvm/receipt @ rev 20892

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 09:14:07 2019 +0100 (2019-02-26)
parents b5c9023ea138
children 453c249b6219
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="http://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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure CC=gcc CXX=g++ \
20 --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 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/include $fs/usr
39 }