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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations) (download)
Sat Jul 2 15:14:12 2011 UTC (7 years, 9 months ago) by hwoarang
Branch: MAIN
Changes since 1.6: +2 -2 lines
Stable on amd64 wrt bug #372601

(Portage version: 2.2.0_alpha42/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20