diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-09-06 05:14:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-09-06 05:14:17 +0000 |
commit | 9449869e5a0986899255eb0ce04bcfb5790514ca (patch) | |
tree | 22e7fd4602cd0b8b404454b86f9bcf7df83a63fa /sys-apps/busybox | |
parent | Removing all mips keywords except from latest stable to fix mips dependencies... (diff) | |
download | gentoo-2-9449869e5a0986899255eb0ce04bcfb5790514ca.tar.gz gentoo-2-9449869e5a0986899255eb0ce04bcfb5790514ca.tar.bz2 gentoo-2-9449869e5a0986899255eb0ce04bcfb5790514ca.zip |
copy .config to $D and then move back out so we work with binpkgs #143724 by Torsten Veller
(Portage version: 2.1.1_rc1-r4)
Diffstat (limited to 'sys-apps/busybox')
-rw-r--r-- | sys-apps/busybox/busybox-1.2.1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-apps/busybox/busybox-1.2.1.ebuild b/sys-apps/busybox/busybox-1.2.1.ebuild index fa0f5da39dd3..212c769051ec 100644 --- a/sys-apps/busybox/busybox-1.2.1.ebuild +++ b/sys-apps/busybox/busybox-1.2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/busybox-1.2.1.ebuild,v 1.9 2006/09/04 20:26:16 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/busybox-1.2.1.ebuild,v 1.10 2006/09/06 05:14:17 vapier Exp $ inherit eutils flag-o-matic @@ -212,6 +212,7 @@ src_install() { tar cf busybox-links.tar -C _install . || die insinto /usr/share/${PN} doins busybox-links.tar || die + newins .config ${PF}.config || die dodoc AUTHORS README TODO @@ -241,6 +242,7 @@ pkg_preinst() { fi mv "${D}"/usr/share/${PN}/busybox-links.tar "${T}"/ || die + mv "${D}"/usr/share/${PN}/${PF}.config "${T}"/ || die } pkg_postinst() { @@ -256,7 +258,7 @@ pkg_postinst() { einfo "Saving this build config to ${config_dir}/${PF}.config" einfo "Read this ebuild for more info on how to take advantage of this option" mkdir -p "${config_dir}" - cp "${S}"/.config "${config_dir}"/${PF}.config + cp "${T}"/${PF}.config "${config_dir}"/${PF}.config return 0 fi echo |