/[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.18 - (show annotations) (download)
Wed Dec 3 05:52:22 2014 UTC (4 years, 7 months ago) by heroxbd
Branch: MAIN
Changes since 1.17: +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.67.ebuild,v 1.17 2014/10/24 21:14:20 vapier Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="Used to create autoconfiguration files"
8 HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
9 SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
10
11 LICENSE="GPL-3"
12 SLOT="${PV}"
13 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
14 IUSE=""
15
16 DEPEND=">=sys-devel/m4-1.4.6
17 dev-lang/perl"
18 RDEPEND="${DEPEND}
19 !~sys-devel/${P}:0
20 >=sys-devel/autoconf-wrapper-13"
21
22 src_prepare() {
23 find -name Makefile.in -exec sed -i '/^pkgdatadir/s:$:-@VERSION@:' {} +
24 }
25
26 src_configure() {
27 # Disable Emacs in the build system since it is in a separate package.
28 export EMACS=no
29 econf --program-suffix="-${PV}"
30 # econf updates config.{sub,guess} which forces the manpages
31 # to be regenerated which we dont want to do #146621
32 touch man/*.1
33 }
34
35 src_install() {
36 default
37
38 local f
39 for f in "${ED}"/usr/share/info/*.info* ; do
40 mv "${f}" "${f/.info/-${SLOT}.info}" || die
41 done
42 }

  ViewVC Help
Powered by ViewVC 1.1.20