wok-current view crosstool-ng/receipt @ rev 24395
created recipe for py3k-distutils-extra
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 10:23:22 2022 +0100 (2022-02-08) |
parents | 5ea0ce1cecc0 |
children |
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*}/tags 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 }