wok-6.x view crosstool-ng/receipt @ rev 24788

grep: add post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 21 09:31:32 2022 +0000 (2022-03-21)
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 }