/[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.22 - (show annotations) (download)
Wed Dec 3 05:52:22 2014 UTC (3 years, 11 months ago) by heroxbd
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +2 -2 lines
Prefix: replacing D with ED in src_install for EAPI>=3 ebuilds.

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.69.ebuild,v 1.21 2014/10/24 21:20:38 vapier Exp $
4
5 EAPI="3"
6
7 inherit eutils
8
9 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 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=$(usex multislot "${PV}" "2.5")
24 IUSE="emacs multislot"
25
26 DEPEND=">=sys-devel/m4-1.4.16
27 >=dev-lang/perl-5.6"
28 RDEPEND="${DEPEND}
29 multislot? ( !~sys-devel/${P}:0 )
30 >=sys-devel/autoconf-wrapper-13"
31 PDEPEND="emacs? ( app-emacs/autoconf-mode )"
32
33 src_prepare() {
34 if [[ ${PV} == "9999" ]] ; then
35 autoreconf -f -i || die
36 fi
37 find -name Makefile.in -exec sed -i '/^pkgdatadir/s:$:-@VERSION@:' {} +
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
54 local f
55 for f in "${ED}"/usr/share/info/*.info* ; do
56 mv "${f}" "${f/.info/-${SLOT}.info}" || die
57 done
58 }

  ViewVC Help
Powered by ViewVC 1.1.20