wok view ptxdist/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 7896f0694ef6
children 9e01bc6321ea
line source
1 # SliTaz package receipt.
3 PACKAGE="ptxdist"
4 VERSION="2012.03.0"
5 CATEGORY="development"
6 SHORT_DESC="Reproducable Embedded Linux Systems."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.ptxdist.org/"
11 WGET_URL="${WEB_SITE}software/$PACKAGE/download/$TARBALL"
13 DEPENDS="slitaz-toolchain ncurses wget ncursesw-extra"
14 SUGGESTED="subversion bazaar git elfkickers ccache"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/lib
20 cp -a $src $fs/usr/lib/buildroot
21 }
23 # Pre and post install commands for Tazpkg.
24 post_install()
25 {
26 [ -L $1/usr/bin/wget ] && tazpkg get-install wget --forced --root=${1:-/}
27 cat <<EOT
28 Now you can do:
29 $ cd /usr/lib/buildroot
30 $ make menuconfig
31 EOT
32 }