summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-03-17 23:14:05 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-03-17 23:14:05 +0000
commit0f818bd99c20f34ec039b2a7b091abe940d85645 (patch)
treeb35e35b32e286c5d1f1345c047447438cf458a9d /sys-devel
parentadd dicts (diff)
downloadgentoo-2-0f818bd99c20f34ec039b2a7b091abe940d85645.tar.gz
gentoo-2-0f818bd99c20f34ec039b2a7b091abe940d85645.tar.bz2
gentoo-2-0f818bd99c20f34ec039b2a7b091abe940d85645.zip
form cleanups
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/autoconf/autoconf-2.13-r2.ebuild34
1 files changed, 19 insertions, 15 deletions
diff --git a/sys-devel/autoconf/autoconf-2.13-r2.ebuild b/sys-devel/autoconf/autoconf-2.13-r2.ebuild
index c31ca007c9f2..7d48374685e9 100644
--- a/sys-devel/autoconf/autoconf-2.13-r2.ebuild
+++ b/sys-devel/autoconf/autoconf-2.13-r2.ebuild
@@ -1,37 +1,41 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.13-r2.ebuild,v 1.3 2001/11/24 18:40:50 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.13-r2.ebuild,v 1.4 2002/03/17 23:14:05 azarah Exp $
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Used to create autoconfiguration files"
-SRC_URI="ftp://prep.ai.mit.edu/gnu/autoconf/${A}"
+SRC_URI="ftp://prep.ai.mit.edu/gnu/autoconf/${P}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
DEPEND=">=sys-devel/m4-1.4o-r2"
src_unpack() {
- unpack ${A}
- cd ${S}
- patch -p0 < ${FILESDIR}/${P}-configure-gentoo.diff
- patch -p0 < ${FILESDIR}/${P}-configure.in-gentoo.diff
-
+ unpack ${A}
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${P}-configure-gentoo.diff || die
+ patch -p0 < ${FILESDIR}/${P}-configure.in-gentoo.diff || die
}
src_compile() {
- try ./configure --prefix=/usr --infodir=/usr/share/info --host=${CHOST}
- try make ${MAKEOPTS}
-
+ ./configure --prefix=/usr \
+ --infodir=/usr/share/info \
+ --host=${CHOST} || die
+
+ make ${MAKEOPTS} || die
}
src_install() {
- try make prefix=${D}/usr infodir=${D}/usr/share/info install
- dodoc COPYING AUTHORS ChangeLog.* NEWS README TODO
+ make prefix=${D}/usr \
+ infodir=${D}/usr/share/info \
+ install || die
+ exeinto /usr/share/autoconf
+ doexe ${S}/install-sh
+
+ dodoc COPYING AUTHORS ChangeLog.* NEWS README TODO
}
-