wok-current view crosstool-ng/receipt @ rev 24132
Up tazinst (114)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 23 15:07:33 2021 +0000 (2021-10-23) |
parents | aca084c6314c |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="crosstool-ng"
4 VERSION="1.24.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 ncursesw"
14 BUILD_DEPENDS="subversion flex cvs gawk texinfo ncurses-dev automake libtool \
15 gperf wget xz help2man file"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/crosstool-ng-\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./bootstrap
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 }