# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-3.2_p48-r1.ebuild,v 1.1 2009/02/09 01:07:59 vapier Exp $ EAPI=1 inherit eutils flag-o-matic toolchain-funcs multilib # Official patchlevel # See ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/ PLEVEL=${PV##*_p} MY_PV=${PV/_p*} MY_P=${PN}-${MY_PV} READLINE_VER=5.2 READLINE_PLEVEL=0 # both readline patches are also released as bash patches DESCRIPTION="The standard GNU Bourne again shell" HOMEPAGE="http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html" SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz $(for ((i=1; i<=PLEVEL; i++)); do printf 'ftp://ftp.cwru.edu/pub/bash/bash-%s-patches/bash%s-%03d\n' \ ${MY_PV} ${MY_PV/\.} ${i} printf 'mirror://gnu/bash/bash-%s-patches/bash%s-%03d\n' \ ${MY_PV} ${MY_PV/\.} ${i} done) $(for ((i=1; i<=READLINE_PLEVEL; i++)); do printf 'ftp://ftp.cwru.edu/pub/bash/readline-%s-patches/readline%s-%03d\n' \ ${READLINE_VER} ${READLINE_VER/\.} ${i} printf 'mirror://gnu/bash/readline-%s-patches/readline%s-%03d\n' \ ${READLINE_VER} ${READLINE_VER/\.} ${i} done)" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" IUSE="afs bashlogger examples +net nls plugins vanilla" DEPEND=">=sys-libs/ncurses-5.2-r2" RDEPEND="${DEPEND} !