# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author: Daniel robbins # $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/automake-1.5d.ebuild,v 1.2 2002/04/07 13:46:10 gbevin Exp $ S=${WORKDIR}/${P} DESCRIPTION="Used to generate Makefile.in from Makefile.am" SRC_URI="ftp://sources.redhat.com/pub/automake/automake-1.5d.tar.bz2" #ftp://ftp.gnu.org/gnu/automake/${P}.tar.gz" #ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.bz2" HOMEPAGE="http://www.gnu.org/software/automake/automake.html" DEPEND="sys-devel/perl >=sys-devel/autoconf-2.53" SLOT="1.5" src_compile() { # stupid configure script goes and run autoconf in a subdir, # so 'ac-wrapper.pl' do not detect that it should use autoconf-2.5x export WANT_AUTOCONF_2_5=1 ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --host=${CHOST} || die make ${MAKEOPTS} || die } src_install() { make DESTDIR=${D} install || die dodoc COPYING NEWS README THANKS TODO AUTHORS ChangeLog }