bash: cross build support.
This commit is contained in:
parent
f790c9ab23
commit
e409d2ea2d
@ -3,7 +3,7 @@ pkgname=bash
|
|||||||
_bash_distver=4.2
|
_bash_distver=4.2
|
||||||
_bash_patchlevel=042
|
_bash_patchlevel=042
|
||||||
version=${_bash_distver}.${_bash_patchlevel}
|
version=${_bash_distver}.${_bash_patchlevel}
|
||||||
revision=2
|
revision=3
|
||||||
#version=${_bash_distver}
|
#version=${_bash_distver}
|
||||||
wrksrc=${pkgname}-${_bash_distver}
|
wrksrc=${pkgname}-${_bash_distver}
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
@ -17,6 +17,8 @@ configure_args="--without-bash-malloc --with-curses --with-installed-readline
|
|||||||
--enable-select --enable-net-redirections --enable-restricted --enable-readline"
|
--enable-select --enable-net-redirections --enable-restricted --enable-readline"
|
||||||
register_shell="/bin/bash"
|
register_shell="/bin/bash"
|
||||||
makedepends="readline-devel bison"
|
makedepends="readline-devel bison"
|
||||||
|
crossmakedepends="readline-devel"
|
||||||
|
conflicts="chroot-bash>=0"
|
||||||
short_desc="The GNU Bourne Again Shell"
|
short_desc="The GNU Bourne Again Shell"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.gnu.org/software/bash/bash.html"
|
homepage="http://www.gnu.org/software/bash/bash.html"
|
||||||
@ -24,8 +26,6 @@ license="GPL-3"
|
|||||||
distfiles="http://ftp.gnu.org/gnu/bash/bash-${_bash_distver}.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/bash/bash-${_bash_distver}.tar.gz"
|
||||||
checksum=a27a1179ec9c0830c65c6aa5d7dab60f7ce1a2a608618570f96bfa72e95ab3d8
|
checksum=a27a1179ec9c0830c65c6aa5d7dab60f7ce1a2a608618570f96bfa72e95ab3d8
|
||||||
|
|
||||||
conflicts="chroot-bash>=0"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
local url="http://ftp.gnu.org/gnu/bash/bash-${_bash_distver}-patches"
|
local url="http://ftp.gnu.org/gnu/bash/bash-${_bash_distver}-patches"
|
||||||
local ver=$(echo ${_bash_distver}|sed "s|\.||g")
|
local ver=$(echo ${_bash_distver}|sed "s|\.||g")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user