wok-current view crosstool-ng/receipt @ rev 19952

Add urbackup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 08 13:18:44 2017 +0200 (2017-05-08)
parents 3d805214d753
children 432dd31a79d5
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="http://ymorin.is-a-geek.org/projects/crosstool"
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 }