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

Contents of /sys-devel/autoconf/autoconf-2.63-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Oct 24 21:14:20 2014 UTC (4 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.6: +17 -22 lines
Upgrade old ebuilds to EAPI=4 and enable SLOTing all the time.

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

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

  ViewVC Help
Powered by ViewVC 1.1.20