wok diff bash/receipt @ rev 8713

Fixed avidemux.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Feb 17 18:20:31 2011 +0000 (2011-02-17)
parents 20ec1b757fe7
children d9b22fc06137
line diff
     1.1 --- a/bash/receipt	Sun Jan 09 14:02:54 2011 +0100
     1.2 +++ b/bash/receipt	Thu Feb 17 18:20:31 2011 +0000
     1.3 @@ -5,28 +5,35 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="The GNU bourne SHell."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="ncurses"
     1.8 +DEPENDS="readline"
     1.9 +BUILD_DEPENDS="readline bison"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://www.gnu.org/software/bash/"
    1.12  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.13  
    1.14 +# Rules to compile & install the temporary toolchain.
    1.15 +cook_tmp_toolchain()
    1.16 +{
    1.17 +	# Patch and then build.
    1.18 +	cd $src
    1.19 +	patch -Np1 -i ../stuff/bash-4.1-fixes-3.patch
    1.20 +	./configure --without-bash-malloc &&
    1.21 +	make && make install
    1.22 +}
    1.23 +
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27  	# Patch and then build.
    1.28  	cd $src
    1.29 -
    1.30 -	[ -f done.bash-4.1-fixes-3.patch ] ||
    1.31 -		patch -Np1 -i ../stuff/bash-4.1-fixes-3.patch
    1.32 -	touch done.bash-4.1-fixes-3.patch
    1.33 -	./configure --prefix=/usr --bindir=/bin \
    1.34 -	--enable-history --enable-alias  \
    1.35 -	--disable-nls --without-bash-malloc \
    1.36 -	--disable-help-builtin \
    1.37 -	--infodir=/usr/share/info --mandir=/usr/share/man \
    1.38 -	$CONFIGURE_ARGS &&
    1.39 +	patch -Np1 -i ../stuff/bash-4.1-fixes-3.patch
    1.40 +	./configure --bindir=/bin \
    1.41 +		--enable-history --enable-alias  \
    1.42 +		--disable-nls --without-bash-malloc \
    1.43 +		--disable-help-builtin --with-installed-readline &&
    1.44  	make &&
    1.45 -	make DESTDIR=$PWD/_pkg install
    1.46 +	# Bash doesn't care about DESTDIR in environnment variable.
    1.47 +	make DESTDIR=$DESTDIR install
    1.48  }
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.