wok-next annotate crosstool-ng/receipt @ rev 17784

Fix: disable llvm compiler version check
author Alexander Medvedev <devl547@gmail.com>
date Sat Mar 14 21:36:00 2015 +0000 (2015-03-14)
parents 3d805214d753
children 466bca9334ef
rev   line source
pascal@7793 1 # SliTaz package receipt.
pascal@7793 2
pascal@7793 3 PACKAGE="crosstool-ng"
pascal@17683 4 VERSION="1.20.0"
pascal@7793 5 CATEGORY="development"
pascal@7793 6 SHORT_DESC="Tool to Build toolchains."
pascal@7793 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
pascal@17683 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@7793 10 WEB_SITE="http://ymorin.is-a-geek.org/projects/crosstool"
pascal@17683 11 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$TARBALL"
pascal@15579 12
pascal@7793 13 DEPENDS="slitaz-toolchain"
pascal@17683 14 BUILD_DEPENDS="subversion flex cvs gawk texinfo ncurses-dev automake libtool \
pascal@17683 15 gperf wget"
pascal@7793 16
pascal@7793 17 # Rules to configure and make the package.
pascal@7793 18 compile_rules()
pascal@7793 19 {
pascal@17683 20 ./bootstrap
pascal@17683 21 sed -i 's/-lncurses/& -ltinfo/' kconfig/Makefile
slaxemulator@11086 22 ./configure \
slaxemulator@11086 23 --prefix=/usr \
slaxemulator@11086 24 $CONFIGURE_ARGS &&
pascal@7793 25 make &&
slaxemulator@11086 26 make DESTDIR=$DESTDIR install
pascal@7793 27 }
pascal@7793 28
pascal@7793 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7793 30 genpkg_rules()
pascal@7793 31 {
pascal@15070 32 cp -a $install/usr $fs
pascal@7793 33 }