wok-next diff ptxdist/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 65f5c0b7dcd4
children
line diff
     1.1 --- a/ptxdist/receipt	Fri Sep 07 01:53:20 2018 +0300
     1.2 +++ b/ptxdist/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,31 +3,32 @@
     1.4  PACKAGE="ptxdist"
     1.5  VERSION="2012.03.0"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="Reproducable Embedded Linux Systems."
     1.8 +SHORT_DESC="Reproducable Embedded Linux Systems"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="https://www.ptxdist.org/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 -WEB_SITE="http://www.ptxdist.org/"
    1.15  WGET_URL="${WEB_SITE}software/$PACKAGE/download/$TARBALL"
    1.16  
    1.17 -DEPENDS="slitaz-toolchain ncurses wget ncurses-extra"
    1.18 -SUGGESTED="subversion bzr git elfkickers ccache"
    1.19 -
    1.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 -genpkg_rules()
    1.22 -{
    1.23 +genpkg_rules() {
    1.24  	mkdir -p $fs/usr/lib
    1.25  	cp -a $src $fs/usr/lib/buildroot
    1.26 +	DEPENDS="slitaz-toolchain ncurses wget ncurses-extra"
    1.27 +	SUGGESTED="subversion bzr git elfkickers ccache"
    1.28  }
    1.29  
    1.30 -# Pre and post install commands for Tazpkg.
    1.31 -post_install()
    1.32 -{
    1.33 -	[ -L "$1/usr/bin/wget" ] && tazpkg get-install wget --forced --root="${1:-/}"
    1.34 -	cat <<EOT
    1.35 -Now you can do:
    1.36 -$ cd /usr/lib/buildroot
    1.37 -$ make menuconfig
    1.38 +post_install() {
    1.39 +	[ -L "$1/usr/bin/wget" ] &&
    1.40 +	tazpkg get-install wget --forced --root="${1:-/}"
    1.41 +
    1.42 +	[ -n "$quiet" ] || cat <<EOT
    1.43 +
    1.44 +	.-------------------------.
    1.45 +	| Now you can do:         |
    1.46 +	|                         |
    1.47 +	| $ cd /usr/lib/buildroot |
    1.48 +	| $ make menuconfig       |
    1.49 +	'-------------------------'
    1.50  EOT
    1.51  }
    1.52 -