/[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 - (hide 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 vapier 1.6 # Copyright 1999-2014 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 vapier 1.7 # $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 vapier 1.1
7     inherit eutils
8    
9     DESCRIPTION="Used to create autoconfiguration files"
10     HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
11 vapier 1.7 SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
12 vapier 1.1
13     LICENSE="GPL-2"
14 vapier 1.7 SLOT="${PV}"
15 vapier 1.6 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
16 vapier 1.7 IUSE=""
17 vapier 1.1
18 vapier 1.3 DEPEND=">=sys-devel/m4-1.4.6
19 vapier 1.1 dev-lang/perl"
20     RDEPEND="${DEPEND}
21 vapier 1.7 !~sys-devel/${P}:0
22 vapier 1.5 >=sys-devel/autoconf-wrapper-13"
23 vapier 1.1
24 vapier 1.7 src_prepare() {
25     find -name Makefile.in -exec sed -i '/^pkgdatadir/s:$:-@VERSION@:' {} +
26 vapier 1.1 epatch "${FILESDIR}"/${P}-sh.patch #264303
27     }
28    
29 vapier 1.7 src_configure() {
30 vapier 1.1 # Disable Emacs in the build system since it is in a separate package.
31     export EMACS=no
32 vapier 1.7 econf --program-suffix="-${PV}"
33 vapier 1.1 # 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 vapier 1.7 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 vapier 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20