/[gentoo-x86]/sys-devel/autoconf/autoconf-9999.ebuild
Gentoo

Contents of /sys-devel/autoconf/autoconf-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download)
Thu Mar 19 23:49:17 2015 UTC (3 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +16 -27 lines
Copy info page SLOT logic from automake #543730 by Tupone Alfredo. Unify duplicated logic into eblits. Migrate to EAPI=5 for non-default SLOTs.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-9999.ebuild,v 1.16 2014/12/03 05:52:22 heroxbd Exp $
4
5 EAPI="5"
6
7 if [[ ${PV} == "9999" ]] ; then
8 EGIT_REPO_URI="git://git.savannah.gnu.org/${PN}.git
9 http://git.savannah.gnu.org/r/${PN}.git"
10 # We need all the tags in order to figure out the right version.
11 # The git-r3 eclass doesn't support that, so have to stick to 2.
12 inherit git-2
13 else
14 SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
15 ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz"
16 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
17 fi
18
19 DESCRIPTION="Used to create autoconfiguration files"
20 HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
21
22 LICENSE="GPL-3"
23 SLOT="${PV}"
24 IUSE="emacs"
25
26 DEPEND=">=sys-devel/m4-1.4.16
27 >=dev-lang/perl-5.6"
28 RDEPEND="${DEPEND}
29 !~sys-devel/${P}:0
30 >=sys-devel/autoconf-wrapper-13"
31 [[ ${PV} == "9999" ]] && DEPEND+=" >=sys-apps/texinfo-4.3"
32 PDEPEND="emacs? ( app-emacs/autoconf-mode )"
33
34 if [[ -z ${__EBLITS__} && -n ${FILESDIR} ]] ; then
35 source "${FILESDIR}"/eblits/main.eblit || die
36 fi
37 src_prepare() { eblit-run src_prepare ; }
38 src_configure() { eblit-run src_configure ; }
39 src_install() { eblit-run src_install ; }
40
41 eblit-src_prepare-pre() {
42 # Avoid the "dirty" suffix in the git version by generating it
43 # before we run later stages which might modify source files.
44 local ver=$(./build-aux/git-version-gen .tarball-version)
45 echo "${ver}" > .tarball-version
46
47 autoreconf -f -i || die
48 }

  ViewVC Help
Powered by ViewVC 1.1.20