/[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.13 - (hide annotations) (download)
Thu Apr 4 22:59:16 2013 UTC (6 years ago) by vapier
Branch: MAIN
Changes since 1.12: +14 -4 lines
Initial USE=multislot support.  Also drop -j1 workaround for newer versions as bug only affected 2.61.

(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)

1 vapier 1.12 # Copyright 1999-2013 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 vapier 1.13 # $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.67.ebuild,v 1.12 2013/04/04 18:44:03 vapier Exp $
4 vapier 1.1
5     EAPI="2"
6    
7 vapier 1.13 inherit eutils
8    
9 vapier 1.4 if [[ ${PV} == "9999" ]] ; then
10     EGIT_REPO_URI="git://git.savannah.gnu.org/autoconf.git"
11 vapier 1.13 inherit git-2
12 vapier 1.4 SRC_URI=""
13     #KEYWORDS=""
14     else
15     SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2
16     ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
17 jer 1.11 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
18 vapier 1.4 fi
19    
20 vapier 1.1 DESCRIPTION="Used to create autoconfiguration files"
21     HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
22    
23     LICENSE="GPL-3"
24 vapier 1.13 SLOT=$(usex multislot "${PV}" "2.5")
25     IUSE="emacs multislot"
26 vapier 1.1
27 vapier 1.12 DEPEND=">=sys-devel/m4-1.4.6
28 vapier 1.1 dev-lang/perl"
29     RDEPEND="${DEPEND}
30 flameeyes 1.2 >=sys-devel/autoconf-wrapper-9-r1"
31 vapier 1.1 PDEPEND="emacs? ( app-emacs/autoconf-mode )"
32    
33 vapier 1.4 src_prepare() {
34     if [[ ${PV} == "9999" ]] ; then
35     autoreconf -f -i || die
36     fi
37 vapier 1.13 use multislot && find -name Makefile.in -exec sed -i '/^pkgdatadir/s:$:-@VERSION@:' {} +
38 vapier 1.4 }
39    
40 vapier 1.1 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 vapier 1.13
54     if use multislot ; then
55     local f
56     for f in "${D}"/usr/share/info/*.info* ; do
57     mv "${f}" "${f/.info/-${SLOT}.info}" || die
58     done
59     fi
60 vapier 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20