1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 if [[ ${PV} == "9999" ]] ; then
7 EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git"
10 SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
11 ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz"
12 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
15 inherit toolchain-autoconf
17 DESCRIPTION="Used to create autoconfiguration files"
18 HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
24 BDEPEND=">=sys-devel/m4-1.4.16
28 >=sys-devel/autoconf-wrapper-13"
29 [[ ${PV} == "9999" ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
30 PDEPEND="emacs? ( app-emacs/autoconf-mode )"
33 if [[ ${PV} == *9999 ]] ; then
34 # Avoid the "dirty" suffix in the git version by generating it
35 # before we run later stages which might modify source files.
36 local ver=$(./build-aux/git-version-gen .tarball-version)
37 echo "${ver}" > .tarball-version || die
39 autoreconf -f -i || die
42 toolchain-autoconf_src_prepare