/[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.17 - (hide annotations) (download)
Mon Dec 23 19:54:33 2013 UTC (4 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.16: +2 -2 lines
Force latest autoconf-wrapper to keep people up-to-date.

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

1 armin76 1.13 # Copyright 1999-2013 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 vapier 1.17 # $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.69.ebuild,v 1.16 2013/04/04 22:59:16 vapier Exp $
4 vapier 1.1
5     EAPI="3"
6    
7 vapier 1.16 inherit eutils
8    
9 vapier 1.1 if [[ ${PV} == "9999" ]] ; then
10     EGIT_REPO_URI="git://git.savannah.gnu.org/${PN}.git
11     http://git.savannah.gnu.org/r/${PN}.git"
12    
13     inherit git-2
14     SRC_URI=""
15     #KEYWORDS=""
16     else
17     SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
18     ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz"
19 zmedico 1.14 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
20 vapier 1.1 fi
21    
22     DESCRIPTION="Used to create autoconfiguration files"
23     HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
24    
25     LICENSE="GPL-3"
26 vapier 1.16 SLOT=$(usex multislot "${PV}" "2.5")
27     IUSE="emacs multislot"
28 vapier 1.1
29 vapier 1.15 DEPEND=">=sys-devel/m4-1.4.16
30 vapier 1.1 >=dev-lang/perl-5.6"
31     RDEPEND="${DEPEND}
32 vapier 1.17 >=sys-devel/autoconf-wrapper-13"
33 vapier 1.1 PDEPEND="emacs? ( app-emacs/autoconf-mode )"
34    
35     src_prepare() {
36     if [[ ${PV} == "9999" ]] ; then
37     autoreconf -f -i || die
38     fi
39 vapier 1.16 use multislot && find -name Makefile.in -exec sed -i '/^pkgdatadir/s:$:-@VERSION@:' {} +
40 vapier 1.1 }
41    
42     src_configure() {
43     # Disable Emacs in the build system since it is in a separate package.
44     export EMACS=no
45     econf --program-suffix="-${PV}" || die
46     # econf updates config.{sub,guess} which forces the manpages
47     # to be regenerated which we dont want to do #146621
48     touch man/*.1
49     }
50    
51     src_install() {
52     emake DESTDIR="${D}" install || die
53     dodoc AUTHORS BUGS NEWS README TODO THANKS \
54     ChangeLog ChangeLog.0 ChangeLog.1 ChangeLog.2
55 vapier 1.16
56     if use multislot ; then
57     local f
58     for f in "${D}"/usr/share/info/*.info* ; do
59     mv "${f}" "${f/.info/-${SLOT}.info}" || die
60     done
61     fi
62 vapier 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20