wok-next annotate llvm/receipt @ rev 17956
Add hunspell
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 16 13:27:06 2015 +0200 (2015-04-16) |
parents | 7d5789c51e7e |
children | bcf7d6192b2d |
rev | line source |
---|---|
pascal@13784 | 1 # SliTaz package receipt. |
pascal@13784 | 2 |
pascal@13784 | 3 PACKAGE="llvm" |
devl547@17783 | 4 VERSION="3.6.0" |
pascal@13784 | 5 CATEGORY="development" |
pascal@13784 | 6 SHORT_DESC="Modular compiler toolchain collection." |
pascal@13784 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
pascal@13784 | 9 WEB_SITE="http://llvm.org/" |
devl547@17783 | 10 TARBALL="$PACKAGE-$VERSION.src.tar.xz" |
pascal@13785 | 11 WGET_URL="${WEB_SITE}releases/$VERSION/$TARBALL" |
pascal@13784 | 12 |
pascal@17849 | 13 DEPENDS="libffi gcc49-lib-base" |
pascal@17845 | 14 BUILD_DEPENDS="libffi-dev libffi perl gcc49" |
pascal@13784 | 15 |
pascal@13784 | 16 # Rules to configure and make the package. |
pascal@13784 | 17 compile_rules() |
pascal@13784 | 18 { |
pascal@17849 | 19 export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH" |
pascal@17847 | 20 ./configure CC=gcc-49 CXX=g++-49 \ |
pascal@17846 | 21 --prefix=/usr --sysconfdir=/etc \ |
pascal@13784 | 22 --enable-libffi \ |
pascal@13784 | 23 --enable-optimized \ |
pascal@13784 | 24 --enable-shared \ |
pascal@13784 | 25 --enable-targets=all \ |
pascal@13784 | 26 --disable-assertions \ |
pascal@13784 | 27 --disable-debug-runtime \ |
pascal@13784 | 28 --disable-expensive-checks \ |
pascal@13784 | 29 $CONFIGURE_ARGS && |
pascal@13784 | 30 make && make DESTDIR=$DESTDIR install |
pascal@13784 | 31 } |
pascal@13784 | 32 |
pascal@13784 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13784 | 34 genpkg_rules() |
pascal@13784 | 35 { |
pascal@13784 | 36 mkdir -p $fs/usr |
pascal@13784 | 37 cp -a $install/usr/bin $fs/usr |
pascal@13784 | 38 cp -a $install/usr/lib $fs/usr |
pascal@13784 | 39 cp -a $install/usr/include $fs/usr |
pascal@13784 | 40 } |