wok-current view buildroot/receipt @ rev 17552

Update some post_install for install --root
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 30 10:17:37 2015 +0100 (2015-01-30)
parents 0f7d97c681bd
children 1e155268c3d0
line source
1 # SliTaz package receipt.
3 PACKAGE="buildroot"
4 VERSION="2014.08"
5 CATEGORY="development"
6 SHORT_DESC="Tools to build toolchains and root filesystems with uClibc."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.buildroot.org/"
11 WGET_URL="${WEB_SITE}downloads/$TARBALL"
12 SUGGESTED="subversion bazaar git elfkickers ccache bison flex gettext texinfo"
14 DEPENDS="slitaz-toolchain ncurses-dev ncurses wget ncursesw-extra tar \
15 bash bzip2 perl python unzip rsync"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/lib
21 cp -a $src $fs/usr/lib/buildroot
22 }
24 # Pre and post install commands for Tazpkg.
25 post_install()
26 {
27 [ -L $1/usr/bin/wget ] && chroot "$1/" tazpkg get-install wget --forced
28 cat <<EOT
29 Now you can do:
30 $ cd /usr/lib/buildroot
31 $ make menuconfig
32 EOT
33 }