/[gentoo-alt]/trunk/prefix/sys-devel/autoconf/autoconf-2.59-r7.ebuild
Gentoo

Contents of /trunk/prefix/sys-devel/autoconf/autoconf-2.59-r7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1365 - (show annotations) (download)
Thu Sep 7 08:49:33 2006 UTC (8 years ago) by grobian
File size: 1287 byte(s)
bump


1 # Copyright 1999-2005 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.59-r7.ebuild,v 1.1 2005/06/23 23:59:58 vapier Exp $
4
5 EAPI="prefix"
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:0:3}"
15 KEYWORDS="amd64 ppc-macos x86"
16 IUSE="emacs"
17
18 DEPEND=">=sys-apps/texinfo-4.3
19 sys-devel/autoconf-wrapper
20 =sys-devel/m4-1.4*
21 dev-lang/perl"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 epatch "${FILESDIR}"/${P}-more-quotes.patch
27 }
28
29 src_compile() {
30 (use emacs && type -p emacs) \
31 && export EMACS=emacs \
32 || export EMACS=no
33 econf --program-suffix="-${PV}" || die
34 # We want to transform the binaries, not the manpages
35 sed -i "/^program_transform_name/s:-${PV}::" man/Makefile
36 emake || die
37 }
38
39 src_install() {
40 make DESTDIR="${EDEST}" install || die
41
42 dodoc AUTHORS BUGS NEWS README TODO THANKS \
43 ChangeLog ChangeLog.0 ChangeLog.1 ChangeLog.2
44
45 # binutils installs this infopage
46 rm -f "${D}"/usr/share/info/standards.*
47 }
48
49 pkg_postinst() {
50 einfo "Please note that the 'WANT_AUTOCONF_2_5=1' syntax is now:"
51 einfo " WANT_AUTOCONF=2.5"
52 }

  ViewVC Help
Powered by ViewVC 1.1.20