/[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.6 - (hide annotations) (download)
Fri Jan 17 04:23:13 2014 UTC (5 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.5: +3 -3 lines
Add arm64 keywords.

(Portage version: 2.2.8/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.6 # $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.63-r1.ebuild,v 1.5 2013/12/23 19:54:33 vapier Exp $
4 vapier 1.1
5     inherit eutils
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.gz"
10    
11     LICENSE="GPL-2"
12 vapier 1.4 SLOT=$(usex multislot "${PV}" "2.5")
13 vapier 1.6 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
14 vapier 1.4 IUSE="emacs multislot"
15 vapier 1.1
16 vapier 1.3 DEPEND=">=sys-devel/m4-1.4.6
17 vapier 1.1 dev-lang/perl"
18     RDEPEND="${DEPEND}
19 vapier 1.5 >=sys-devel/autoconf-wrapper-13"
20 vapier 1.1 PDEPEND="emacs? ( app-emacs/autoconf-mode )"
21    
22     src_unpack() {
23     unpack ${A}
24     cd "${S}"
25 vapier 1.4 use multislot && find -name Makefile.in -exec sed -i '/^pkgdatadir/s:$:-@VERSION@:' {} +
26 vapier 1.1 epatch "${FILESDIR}"/${P}-sh.patch #264303
27     }
28    
29     src_compile() {
30     # Disable Emacs in the build system since it is in a separate package.
31     export EMACS=no
32     econf --program-suffix="-${PV}" || die
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 vapier 1.4 emake || die
37 vapier 1.1 }
38    
39     src_install() {
40     emake DESTDIR="${D}" install || die
41     dodoc AUTHORS BUGS NEWS README TODO THANKS \
42     ChangeLog ChangeLog.0 ChangeLog.1 ChangeLog.2
43 vapier 1.4
44     if use multislot ; then
45     local f
46     for f in "${D}"/usr/share/info/*.info* ; do
47     mv "${f}" "${f/.info/-${SLOT}.info}" || die
48     done
49     fi
50 vapier 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20