| 1 |
# Copyright 1999-2006 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf-wrapper/autoconf-wrapper-3.2-r2.ebuild,v 1.1 2006/06/27 00:51:05 vapier Exp $ |
| 4 |
|
| 5 |
EAPI="prefix" |
| 6 |
|
| 7 |
DESCRIPTION="wrapper for autoconf to manage multiple autoconf versions" |
| 8 |
HOMEPAGE="http://www.gentoo.org/" |
| 9 |
SRC_URI="" |
| 10 |
|
| 11 |
LICENSE="GPL-2" |
| 12 |
SLOT="0" |
| 13 |
KEYWORDS="" |
| 14 |
IUSE="" |
| 15 |
|
| 16 |
RDEPEND="~sys-devel/autoconf-2.60 |
| 17 |
~sys-devel/autoconf-2.13" |
| 18 |
|
| 19 |
S=${WORKDIR} |
| 20 |
|
| 21 |
src_install() { |
| 22 |
exeinto /usr/lib/misc |
| 23 |
newexe "${FILESDIR}"/ac-wrapper-${PV}.sh ac-wrapper.sh || die |
| 24 |
dosed '/^binary_new=/s:2.59:2.60:' "${EPREFIX}"/usr/lib/misc/ac-wrapper.sh |
| 25 |
|
| 26 |
dodir /usr/bin |
| 27 |
local x= |
| 28 |
for x in auto{conf,header,m4te,reconf,scan,update} ifnames ; do |
| 29 |
dosym ../lib/misc/ac-wrapper.sh /usr/bin/${x} || die |
| 30 |
done |
| 31 |
} |