diff -r bc774c8c23a6 sys-devel/autoconf-wrapper/autoconf-wrapper-11-r00.1.ebuild --- a/sys-devel/autoconf-wrapper/autoconf-wrapper-11-r00.1.ebuild Fri Jul 29 23:24:20 2011 +0200 +++ b/sys-devel/autoconf-wrapper/autoconf-wrapper-11-r00.1.ebuild Fri Jul 29 23:35:51 2011 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf-wrapper/autoconf-wrapper-11.ebuild,v 1.1 2011/06/11 23:37:38 vapier Exp $ -inherit multilib +inherit multilib prefix DESCRIPTION="wrapper for autoconf to manage multiple autoconf versions" HOMEPAGE="http://www.gentoo.org/" @@ -15,9 +15,15 @@ S=${WORKDIR} +src_unpack() { + cd "${T}" + cp "${FILESDIR}"/ac-wrapper-${PV}.sh . + eprefixify "${T}"/ac-wrapper-${PV}.sh +} + src_install() { exeinto /usr/$(get_libdir)/misc - newexe "${FILESDIR}"/ac-wrapper-${PV}.sh ac-wrapper.sh || die + newexe "${T}"/ac-wrapper-${PV}.sh ac-wrapper.sh || die dodir /usr/bin local x= diff -r bc774c8c23a6 sys-devel/autoconf-wrapper/files/ac-wrapper-11.sh --- a/sys-devel/autoconf-wrapper/files/ac-wrapper-11.sh Fri Jul 29 23:24:20 2011 +0200 +++ b/sys-devel/autoconf-wrapper/files/ac-wrapper-11.sh Fri Jul 29 23:35:51 2011 +0200 @@ -1,4 +1,4 @@ -#!/bin/sh +#!@GENTOO_PORTAGE_EPREFIX@/bin/sh # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf-wrapper/files/ac-wrapper-11.sh,v 1.1 2011/06/11 23:37:38 vapier Exp $