/[autoepatch]/trunk/patches/gnuconfig-update/gnuconfig-update.sh
Gentoo

Contents of /trunk/patches/gnuconfig-update/gnuconfig-update.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 41 - (show annotations) (download) (as text)
Sun Jan 7 20:24:50 2007 UTC (7 years, 11 months ago) by flameeyes
File MIME type: text/x-sh
File size: 373 byte(s)
Add a patchset that simply covers for gnuconfig updating, that can replace both gnuconfig.eclass and econf's calls.
1 # Copyright 2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3
4 patch_targets() {
5 find "${WORKDIR}" -name config.guess -or -name config.sub
6 }
7
8 patch_required() {
9 return 0
10 }
11
12 patch_trigger_action() {
13 [[ -f "$1" ]] || return -1
14
15 local base_param=$(basename "$1")
16
17 cp "${PREFIX}/share/gnuconfig/${base_param}" "$1"
18 }

  ViewVC Help
Powered by ViewVC 1.1.20