wok-6.x view ptxdist/receipt @ rev 20217

syslinux: rework post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 17:09:18 2018 +0100 (2018-02-25)
parents dfef8de3d270
children dac886dad97b
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 }