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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (hide annotations) (download)
Sun Dec 30 20:22:48 2012 UTC (5 years, 8 months ago) by ago
Branch: MAIN
Changes since 1.11: +2 -2 lines
Stable for alpha, wrt bug #447756

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 vapier 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.12 # $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.69.ebuild,v 1.11 2012/12/30 14:20:13 ago Exp $
4 vapier 1.1
5     EAPI="3"
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    
11     inherit git-2
12     SRC_URI=""
13     #KEYWORDS=""
14     else
15     SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
16     ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz"
17 ago 1.12 KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
18 vapier 1.1 fi
19    
20     DESCRIPTION="Used to create autoconfiguration files"
21     HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
22    
23     LICENSE="GPL-3"
24     SLOT="2.5"
25     IUSE="emacs"
26    
27     DEPEND=">=sys-apps/texinfo-4.3
28 robbat2 1.3 >=sys-devel/m4-1.4.16
29 vapier 1.1 >=dev-lang/perl-5.6"
30     RDEPEND="${DEPEND}
31     >=sys-devel/autoconf-wrapper-10"
32     PDEPEND="emacs? ( app-emacs/autoconf-mode )"
33    
34     src_prepare() {
35     if [[ ${PV} == "9999" ]] ; then
36     autoreconf -f -i || die
37     fi
38     }
39    
40     src_configure() {
41     # Disable Emacs in the build system since it is in a separate package.
42     export EMACS=no
43     econf --program-suffix="-${PV}" || die
44     # econf updates config.{sub,guess} which forces the manpages
45     # to be regenerated which we dont want to do #146621
46     touch man/*.1
47     }
48    
49     src_install() {
50     emake DESTDIR="${D}" install || die
51     dodoc AUTHORS BUGS NEWS README TODO THANKS \
52     ChangeLog ChangeLog.0 ChangeLog.1 ChangeLog.2
53     }

  ViewVC Help
Powered by ViewVC 1.1.20