/[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.5 - (show annotations) (download)
Mon Dec 23 19:54:33 2013 UTC (5 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.4: +2 -2 lines
Force latest autoconf-wrapper to keep people up-to-date.

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)

1 # Copyright 1999-2013 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.4 2013/04/04 22:59:16 vapier Exp $
4
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 SLOT=$(usex multislot "${PV}" "2.5")
13 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
14 IUSE="emacs multislot"
15
16 DEPEND=">=sys-devel/m4-1.4.6
17 dev-lang/perl"
18 RDEPEND="${DEPEND}
19 >=sys-devel/autoconf-wrapper-13"
20 PDEPEND="emacs? ( app-emacs/autoconf-mode )"
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25 use multislot && find -name Makefile.in -exec sed -i '/^pkgdatadir/s:$:-@VERSION@:' {} +
26 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 emake || die
37 }
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
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 }

  ViewVC Help
Powered by ViewVC 1.1.20