wok-next diff buildroot/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents 6c12ac1293fc
children 65f5c0b7dcd4
line diff
     1.1 --- a/buildroot/receipt	Mon Oct 16 13:38:21 2017 +0200
     1.2 +++ b/buildroot/receipt	Tue Mar 27 12:50:45 2018 +0200
     1.3 @@ -1,34 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="buildroot"
     1.8  VERSION="2014.08"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Tools to build toolchains and root filesystems with uClibc."
    1.11 +SHORT_DESC="Tools to build toolchains and root filesystems with uClibc"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.buildroot.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://www.buildroot.org/"
    1.18  WGET_URL="${WEB_SITE}downloads/$TARBALL"
    1.19 -SUGGESTED="subversion bazaar git elfkickers ccache bison flex gettext texinfo"
    1.20  
    1.21 -DEPENDS="slitaz-toolchain ncurses-dev ncurses wget ncurses-extra tar \
    1.22 -bash bzip2 perl python unzip rsync bc patch"
    1.23 -
    1.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 -genpkg_rules()
    1.26 -{
    1.27 -	mkdir -p $fs/usr/lib
    1.28 -	cp -a $src $fs/usr/lib/buildroot
    1.29 +compile_rules() {
    1.30 +	mkdir -p   $install/usr/lib
    1.31 +	cp -a $src $install/usr/lib/buildroot
    1.32  }
    1.33  
    1.34 -# Pre and post install commands for Tazpkg.
    1.35 -post_install()
    1.36 -{
    1.37 -	[ -L $1/usr/bin/wget ] && chroot "$1/" tazpkg get-install wget --forced
    1.38 +genpkg_rules() {
    1.39 +	copy @std @dev
    1.40 +	DEPENDS="slitaz-toolchain ncurses-dev ncurses wget ncurses-extra tar bash \
    1.41 +	bzip2 perl python unzip rsync bc patch"
    1.42 +	SUGGESTED="subversion bazaar git elfkickers ccache bison flex gettext \
    1.43 +	texinfo"
    1.44 +}
    1.45 +
    1.46 +post_install() {
    1.47  	cat <<EOT
    1.48  Now you can do:
    1.49  $ cd /usr/lib/buildroot
    1.50  $ make menuconfig
    1.51  EOT
    1.52  }
    1.53 -