wok-current annotate crosstool-ng/receipt @ rev 24537
updated fakeroot (1.24 -> 1.27)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 13:56:54 2022 +0100 (2022-02-23) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@7793 | 1 # SliTaz package receipt. |
pascal@7793 | 2 |
pascal@7793 | 3 PACKAGE="crosstool-ng" |
pascal@22390 | 4 VERSION="1.24.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@21885 | 10 WEB_SITE="https://crosstool-ng.github.io/" |
pascal@17683 | 11 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$TARBALL" |
pascal@15579 | 12 |
pascal@22390 | 13 DEPENDS="slitaz-toolchain ncursesw" |
pascal@17683 | 14 BUILD_DEPENDS="subversion flex cvs gawk texinfo ncurses-dev automake libtool \ |
pascal@22391 | 15 gperf wget xz help2man file" |
pascal@7793 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/crosstool-ng-\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@7793 | 23 # Rules to configure and make the package. |
pascal@7793 | 24 compile_rules() |
pascal@7793 | 25 { |
pascal@17683 | 26 ./bootstrap |
slaxemulator@11086 | 27 ./configure \ |
slaxemulator@11086 | 28 --prefix=/usr \ |
slaxemulator@11086 | 29 $CONFIGURE_ARGS && |
pascal@7793 | 30 make && |
slaxemulator@11086 | 31 make DESTDIR=$DESTDIR install |
pascal@7793 | 32 } |
pascal@7793 | 33 |
pascal@7793 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7793 | 35 genpkg_rules() |
pascal@7793 | 36 { |
pascal@15070 | 37 cp -a $install/usr $fs |
pascal@7793 | 38 } |