wok-next annotate llvm/receipt @ rev 14167
Add sockets
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 08 09:22:27 2013 +0100 (2013-03-08) |
parents | 91bfb4faef77 |
children | 2a5cc8208d36 |
rev | line source |
---|---|
pascal@13784 | 1 # SliTaz package receipt. |
pascal@13784 | 2 |
pascal@13784 | 3 PACKAGE="llvm" |
pascal@13784 | 4 VERSION="3.2" |
pascal@13784 | 5 CATEGORY="development" |
pascal@13784 | 6 SHORT_DESC="Modular compiler toolchain collection." |
pascal@13784 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13784 | 8 WEB_SITE="http://llvm.org/" |
pascal@13785 | 9 TARBALL="$PACKAGE-$VERSION.src.tar.gz" |
pascal@13785 | 10 WGET_URL="${WEB_SITE}releases/$VERSION/$TARBALL" |
pascal@13784 | 11 |
pascal@13784 | 12 DEPENDS="libffi gcc-lib-base" |
pascal@13784 | 13 BUILD_DEPENDS="libffi-dev libffi perl" |
pascal@13784 | 14 |
pascal@13784 | 15 # Rules to configure and make the package. |
pascal@13784 | 16 compile_rules() |
pascal@13784 | 17 { |
pascal@13784 | 18 cd $src |
pascal@13784 | 19 ./configure --prefix=/usr --sysconfdir=/etc \ |
pascal@13784 | 20 --enable-libffi \ |
pascal@13784 | 21 --enable-optimized \ |
pascal@13784 | 22 --enable-shared \ |
pascal@13784 | 23 --enable-targets=all \ |
pascal@13784 | 24 --disable-assertions \ |
pascal@13784 | 25 --disable-debug-runtime \ |
pascal@13784 | 26 --disable-expensive-checks \ |
pascal@13784 | 27 $CONFIGURE_ARGS && |
pascal@13784 | 28 make && make DESTDIR=$DESTDIR install |
pascal@13784 | 29 } |
pascal@13784 | 30 |
pascal@13784 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13784 | 32 genpkg_rules() |
pascal@13784 | 33 { |
pascal@13784 | 34 mkdir -p $fs/usr |
pascal@13784 | 35 cp -a $install/usr/bin $fs/usr |
pascal@13784 | 36 cp -a $install/usr/lib $fs/usr |
pascal@13784 | 37 cp -a $install/usr/include $fs/usr |
pascal@13784 | 38 } |