wok view crosstool-ng/receipt @ rev 21885

Up reptyr (0.7.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 02 17:23:06 2019 +0200 (2019-10-02)
parents 22604cb26233
children 986409b5de0e
line source
1 # SliTaz package receipt.
3 PACKAGE="crosstool-ng"
4 VERSION="1.20.0"
5 CATEGORY="development"
6 SHORT_DESC="Tool to Build toolchains."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://crosstool-ng.github.io/"
11 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$TARBALL"
13 DEPENDS="slitaz-toolchain"
14 BUILD_DEPENDS="subversion flex cvs gawk texinfo ncurses-dev automake libtool \
15 gperf wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./bootstrap
21 sed -i 's/-lncurses/& -ltinfo/' kconfig/Makefile
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }